Prevent sidebar horizontal scrolling

This commit is contained in:
thePR0M3TH3AN committed 2025-10-18 15:25:49 -04:00
1 parent 3993b4c824
commit c8e860fe8a
1 file changed
+5 -3
+5 -3
View File
@@ -2511,10 +2511,12 @@
height: 100vh;
height: 100dvh;
color: var(--color-text-frosted-strong);
overflow-x: visible;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
overscroll-behavior-inline: contain;
touch-action: pan-y;
scrollbar-gutter: stable both-edges;
background: transparent;
border-right: none;
@@ -2856,7 +2858,7 @@
.sidebar-dropup-panel {
position: absolute;
left: 0;
right: calc(var(--space-sidebar-dropup-scroll-reserve) * -1);
right: 0;
bottom: calc(100% + var(--space-sidebar-popover-offset));
border-radius: var(--radius-xl);
border: var(--border-width-hairline) solid var(--color-sidebar-border-strong);
@@ -2897,7 +2899,7 @@
flex-direction: column;
gap: var(--space-sidebar-popover-gap);
width: 100%;
padding-inline-end: var(--space-sidebar-dropup-scroll-reserve);
padding-inline-end: 0;
max-height: var(--sidebar-dropup-max-height);
overflow-y: auto;
overflow-x: hidden;