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 1e280b5 commit 1d97b62Copy full SHA for 1d97b62
src/material-experimental/mdc-slide-toggle/slide-toggle.scss
@@ -23,6 +23,14 @@
23
pointer-events: none;
24
}
25
26
+ // The thumb-underlay element has `mat-mdc-focus-indicator` which sets
27
+ // a relative position. This element must have absolute positioning. This
28
+ // has increased specificity than the style set in MDC to guarantee that
29
+ // it will be absolutely positioned.
30
+ .mdc-switch__thumb-underlay {
31
+ position: absolute;
32
+ }
33
+
34
// The MDC switch styles related to the hover state are intertwined with the MDC ripple styles.
35
// We currently don't use the MDC ripple due to size concerns, therefore we need to add some
36
// additional styles to restore the hover state.
0 commit comments