Skip to content

Commit ea035d7

Browse files
Fix #7275: correct sidebar scrolling on webkit browsers
1 parent 3901f2b commit ea035d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc-tool/resources/css/sidebar.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
z-index: 1000;
66
width: 100%;
77
height: 100%;
8-
overflow: hidden auto;
8+
/* Safari and some others don't support overflow: x y */
9+
overflow-x: hidden;
10+
overflow-y: auto;
11+
-webkit-overflow-scrolling: touch; /* nicer scrolling on touch screens */
912
font-family: var(--font-family-sans-serif);
1013
font-weight: 400;
1114
background: var(--primary);

0 commit comments

Comments
 (0)