Skip to content

Commit af3d90d

Browse files
committed
🐛(frontend) fix double scrollbar on document grid
The document grid was showing a double scrollbar. It was due to the sr-only class having a width and height of 1px. We changed it to 0px, it is now fixed.
1 parent 127c90c commit af3d90d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/frontend/apps/impress/src/pages/globals.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ nextjs-portal {
9292

9393
/* Screen reader only - visually hidden but accessible to screen readers */
9494
.sr-only {
95-
position: absolute !important;
95+
position: fixed !important;
9696
width: 1px !important;
9797
height: 1px !important;
98+
transform: translateX(-100vw) !important;
9899
padding: 0 !important;
99100
margin: -1px !important;
100101
overflow: hidden !important;

0 commit comments

Comments
 (0)