Skip to content

Commit 15c3332

Browse files
authored
fix: add missing sr-only element styles to Lumo select (#10044)
1 parent 4b31615 commit 15c3332

File tree

1 file changed

+13
-0
lines changed
  • packages/vaadin-lumo-styles/src/components

1 file changed

+13
-0
lines changed

packages/vaadin-lumo-styles/src/components/select.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,17 @@
5757
--_lumo-selected-item-height: var(--lumo-size-s);
5858
--_lumo-selected-item-padding: 0;
5959
}
60+
61+
.sr-only {
62+
border: 0 !important;
63+
clip: rect(1px, 1px, 1px, 1px) !important;
64+
clip-path: inset(50%) !important;
65+
height: 1px !important;
66+
margin: -1px !important;
67+
overflow: hidden !important;
68+
padding: 0 !important;
69+
position: absolute !important;
70+
width: 1px !important;
71+
white-space: nowrap !important;
72+
}
6073
}

0 commit comments

Comments
 (0)