Skip to content

Commit

Permalink
Fix scrollbar on Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
yzdocs committed Jun 10, 2020
1 parent cd7b40d commit a0f9481
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
8 changes: 8 additions & 0 deletions css/components/_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
padding-right: 5px;
}

.toc-col-contents::-webkit-scrollbar {
display: none;
}

#toc-right {
max-height: 85vh;
padding-right: 15px;
Expand All @@ -38,6 +42,10 @@
margin-bottom: 1.5rem;
}

#toc-right::-webkit-scrollbar {
display: none;
}

#toc,
#toc-right {

Expand Down
13 changes: 8 additions & 5 deletions css/customstyles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions css/customstyles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -621,4 +616,4 @@ a.accordion-toggle {
#search-pages .ais-Pagination-item.ais-Pagination-item--selected a {
color: #497EDA;
font-weight: 900;
}
}

0 comments on commit a0f9481

Please sign in to comment.