We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eee19f7 commit c3bb3a9Copy full SHA for c3bb3a9
src/material-experimental/mdc-core/option/option.scss
@@ -13,6 +13,13 @@
13
@include mat.private-user-select(none);
14
cursor: pointer;
15
16
+ // If the MDC list is loaded after the option, this gets overwritten which breaks the text
17
+ // alignment. Ideally we'd wrap all the MDC mixins above with this selector, but the increased
18
+ // specificity breaks some internal overrides.
19
+ &.mdc-list-item {
20
+ align-items: center;
21
+ }
22
+
23
// Set the `min-height` here ourselves, instead of going through
24
// the `mdc-list-one-line-item-density` mixin, because it sets a `height`
25
// which doesn't work well with multi-line options.
0 commit comments