Skip to content

Commit

Permalink
Merge pull request #2122 from tf/chrome-mac-chapter-scroller-fix
Browse files Browse the repository at this point in the history
Fix chapter scroller issue on Chrome 126 on OS X
  • Loading branch information
tf authored Jul 10, 2024
2 parents 274ba35 + 8d353aa commit 54d0282
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

@media screen and breakpoint-md {
.scroller {
overflow: hidden;
overflow: scroll;
scroll-behavior: smooth;
scrollbar-width: none;

/* Prevent clipping chapter tooltips vertically. */
padding-bottom: 90vh;
Expand All @@ -14,6 +15,10 @@
width: 58%;
}

.scroller::-webkit-scrollbar {
display: none;
}

.scroller > * {
pointer-events: auto;
}
Expand Down

0 comments on commit 54d0282

Please sign in to comment.