Merge pull request #658 from PR0M3TH3AN/codex/remove-sidebar-horizontal-scrolling

Prevent sidebar horizontal scrolling
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-18 15:26:41 -04:00
commit afa0572838
1 file changed
+5 -3
+5 -3
View File
@@ -2523,10 +2523,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;
@@ -2868,7 +2870,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);
@@ -2909,7 +2911,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;