diff --git a/css/components/_toc.scss b/css/components/_toc.scss index a381e7ce66d..ded1cf253d7 100644 --- a/css/components/_toc.scss +++ b/css/components/_toc.scss @@ -30,6 +30,10 @@ padding-right: 5px; } +.toc-col-contents::-webkit-scrollbar { + display: none; +} + #toc-right { max-height: 85vh; padding-right: 15px; @@ -38,6 +42,10 @@ margin-bottom: 1.5rem; } +#toc-right::-webkit-scrollbar { + display: none; +} + #toc, #toc-right { diff --git a/css/customstyles.css b/css/customstyles.css index 4d45001b105..ec720c2d8da 100755 --- a/css/customstyles.css +++ b/css/customstyles.css @@ -1168,6 +1168,10 @@ section.footer { padding-bottom: 5rem; padding-right: 5px; } +.toc-col-contents::-webkit-scrollbar { + display: none; +} + #toc-right { max-height: 85vh; padding-right: 15px; @@ -1175,6 +1179,10 @@ section.footer { overflow-y: auto; margin-bottom: 1.5rem; } +#toc-right::-webkit-scrollbar { + display: none; +} + #toc > ul, #toc-right > ul { list-style-type: none; @@ -3752,11 +3760,6 @@ a.accordion-toggle { width: 100%; max-width: 800px; } -::-webkit-scrollbar { - width: 0px; - /* remove scrollbar space */ - background: transparent; } - /* Docs landing page */ .landing-column-title { font-family: 'Graphik-Semibold', sans-serif; diff --git a/css/customstyles.scss b/css/customstyles.scss index 06acd87e4c9..94e64ffedc6 100755 --- a/css/customstyles.scss +++ b/css/customstyles.scss @@ -552,11 +552,6 @@ a.accordion-toggle { max-width: 800px; } -::-webkit-scrollbar { - width: 0px; /* remove scrollbar space */ - background: transparent; -} - /* Docs landing page */ .landing-column-title { font-family: 'Graphik-Semibold', sans-serif; @@ -621,4 +616,4 @@ a.accordion-toggle { #search-pages .ais-Pagination-item.ais-Pagination-item--selected a { color: #497EDA; font-weight: 900; -} \ No newline at end of file +}