Skip to content

Commit

Permalink
fix(ld-sidenav): horizontal scrollbars visible on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur authored and renet committed Mar 11, 2022
1 parent e037b74 commit 5dc7222
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:host {
--ld-scroll-shadow-height: 1.5rem;
--ld-scroll-shadow-intensity: 0.1;
overflow: auto;
overflow: hidden auto;
overscroll-behavior: contain;
height: 100%;
width: 100%;
Expand All @@ -11,6 +11,7 @@

::slotted(ld-sidenav-navitem) {
margin: var(--ld-sidenav-padding-y) 0 0;
will-change: opacity; /* prevents flickering on transition in Safari */
}

::slotted(ld-sidenav-navitem:last-of-type) {
Expand Down

0 comments on commit 5dc7222

Please sign in to comment.