assets/stylesheets/material/mixins/_screenreader.scss in material-sass-4.0.0 vs assets/stylesheets/material/mixins/_screenreader.scss in material-sass-4.1.0
- old
+ new
@@ -1,9 +1,8 @@
@mixin sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
- clip-path: inset(50%);
height: 1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
@@ -12,10 +11,9 @@
@mixin sr-only-focusable {
&:active,
&:focus {
clip: auto;
- clip-path: none;
height: auto;
overflow: visible;
position: static;
white-space: normal;
width: auto;