mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-58755 - Fixing inproduct notices spacing (#27442)
* MM-58755 - Fixing inproduct notices spacing * Updating compass modal * Updating test
This commit is contained in:
parent
60028d63c0
commit
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}
|
||||||
|
Loading…
Reference in New Issue
Block a user