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