MM-58755 - Fixing inproduct notices spacing (#27442)

* MM-58755 - Fixing inproduct notices spacing

* Updating compass modal

* Updating test
This commit is contained in:
Asaad Mahmood 2024-06-26 19:22:56 +05:00 committed by GitHub
parent 60028d63c0
commit 86a98ea030
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ exports[`ProductNoticesModal Match snapshot for single notice 1`] = `
bodyPadding={true}
cancelButtonText={null}
className="productNotices"
compassDesign={true}
confirmButtonText={
<span>
Download
@ -56,6 +57,7 @@ exports[`ProductNoticesModal Match snapshot for user notice 1`] = `
</React.Fragment>
}
className="productNotices"
compassDesign={true}
confirmButtonText={
<Memo(MemoizedFormattedMessage)
defaultMessage="Done"
@ -125,6 +127,7 @@ exports[`ProductNoticesModal Should match snapshot for system admin notice 1`] =
bodyPadding={true}
cancelButtonText={null}
className="productNotices"
compassDesign={true}
confirmButtonText={
<React.Fragment>
<Memo(MemoizedFormattedMessage)

View File

@ -255,6 +255,7 @@ export default class ProductNoticesModal extends React.PureComponent<Props, Stat
return (
<GenericModal
compassDesign={true}
onExited={this.onModalDismiss}
handleConfirm={this.handleNextButton}
handleEnterKeyPress={this.handleNextButton}