Skip to content

Commit

Permalink
fix(dialog): Only equalize paddings for scrollable dialogs with title…
Browse files Browse the repository at this point in the history
…s, since there is no added divider between title/content in this case.

PiperOrigin-RevId: 310209294
  • Loading branch information
material-web-copybara authored and copybara-github committed May 6, 2020
1 parent ed7f324 commit 8135cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-dialog/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
}

// stylelint-disable-next-line plugin/selector-bem-pattern
.mdc-dialog--scrollable .mdc-dialog__content {
.mdc-dialog--scrollable .mdc-dialog__title + .mdc-dialog__content {
@include feature-targeting-mixins.targets($feat-structure) {
// Reduce and equalize vertical paddings when scrollable dividers are present
// (Note: this is intentionally after title + content to take precedence)
Expand Down

0 comments on commit 8135cc0

Please sign in to comment.