diff --git a/doc-tool/resources/css/sidebar.css b/doc-tool/resources/css/sidebar.css index 1964fb248807..13068ed21467 100644 --- a/doc-tool/resources/css/sidebar.css +++ b/doc-tool/resources/css/sidebar.css @@ -5,7 +5,10 @@ z-index: 1000; width: 100%; height: 100%; - overflow: hidden auto; + /* Safari and some others don't support overflow: x y */ + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; /* nicer scrolling on touch screens */ font-family: var(--font-family-sans-serif); font-weight: 400; background: var(--primary);