Skip to content

Commit 50b5e28

Browse files
authored
Modernize ui-helper-hidden-accessible
Based on this https://stackoverflow.com/a/62109988/502366
1 parent 0318a27 commit 50b5e28

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

themes/base/core.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
}
1717
.ui-helper-hidden-accessible {
1818
border: 0;
19-
clip: rect(0 0 0 0);
20-
height: 1px;
21-
margin: -1px;
22-
overflow: hidden;
2319
padding: 0;
24-
position: absolute;
20+
margin: 0;
21+
position: absolute !important;
22+
height: 1px;
2523
width: 1px;
24+
overflow: hidden;
25+
clip: rect(1px, 1px, 1px, 1px);
26+
clip-path: inset(50%);
27+
white-space: nowrap;
2628
}
2729
.ui-helper-reset {
2830
margin: 0;

0 commit comments

Comments
 (0)