MM-58755 - Fixing inproduct notices spacing (#27442)
* MM-58755 - Fixing inproduct notices spacing * Updating compass modal * Updating test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
60028d63c0
Коммит
86a98ea030
@@ -7,6 +7,7 @@ exports[`ProductNoticesModal Match snapshot for single notice 1`] = `
|
|||||||
bodyPadding={true}
|
bodyPadding={true}
|
||||||
cancelButtonText={null}
|
cancelButtonText={null}
|
||||||
className="productNotices"
|
className="productNotices"
|
||||||
|
compassDesign={true}
|
||||||
confirmButtonText={
|
confirmButtonText={
|
||||||
<span>
|
<span>
|
||||||
Download
|
Download
|
||||||
@@ -56,6 +57,7 @@ exports[`ProductNoticesModal Match snapshot for user notice 1`] = `
|
|||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
}
|
}
|
||||||
className="productNotices"
|
className="productNotices"
|
||||||
|
compassDesign={true}
|
||||||
confirmButtonText={
|
confirmButtonText={
|
||||||
<Memo(MemoizedFormattedMessage)
|
<Memo(MemoizedFormattedMessage)
|
||||||
defaultMessage="Done"
|
defaultMessage="Done"
|
||||||
@@ -125,6 +127,7 @@ exports[`ProductNoticesModal Should match snapshot for system admin notice 1`] =
|
|||||||
bodyPadding={true}
|
bodyPadding={true}
|
||||||
cancelButtonText={null}
|
cancelButtonText={null}
|
||||||
className="productNotices"
|
className="productNotices"
|
||||||
|
compassDesign={true}
|
||||||
confirmButtonText={
|
confirmButtonText={
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Memo(MemoizedFormattedMessage)
|
<Memo(MemoizedFormattedMessage)
|
||||||
|
|||||||
@@ -255,6 +255,7 @@ export default class ProductNoticesModal extends React.PureComponent<Props, Stat
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<GenericModal
|
<GenericModal
|
||||||
|
compassDesign={true}
|
||||||
onExited={this.onModalDismiss}
|
onExited={this.onModalDismiss}
|
||||||
handleConfirm={this.handleNextButton}
|
handleConfirm={this.handleNextButton}
|
||||||
handleEnterKeyPress={this.handleNextButton}
|
handleEnterKeyPress={this.handleNextButton}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user