Skip to content

Commit

Permalink
Add css rules with generic class.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitrox committed Jul 19, 2024
1 parent 7d28e8f commit c721b54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export default function ConfirmDisconnect( { slug } ) {

return (
<ModalDialog
className="googlesitekit-settings-module__confirm-disconnect-modal"
dialogActive
handleDialog={ handleDialog }
title={ title }
Expand Down
14 changes: 7 additions & 7 deletions assets/sass/vendor/_mdc-dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@
}
}
}
}

.googlesitekit-settings-module--reader-revenue-manager .mdc-dialog {
.mdc-list-item__text {
white-space: normal;
}
&.googlesitekit-settings-module__confirm-disconnect-modal {
.mdc-list-item__text {
white-space: normal;
}

.mdc-dialog__title {
align-items: flex-start;
.mdc-dialog__title {
align-items: flex-start;
}
}
}

0 comments on commit c721b54

Please sign in to comment.