From 79f5809fca966f9dc2554659b78a6f1ea5702aa7 Mon Sep 17 00:00:00 2001 From: rimar1337 <132627503+rimar1337@users.noreply.github.com> Date: Wed, 29 Oct 2025 10:46:07 +0700 Subject: [PATCH] gutter stuff --- src/components/Composer.tsx | 4 ++-- src/routes/profile.$did/post.$rkey.image.$i.tsx | 2 +- src/styles/app.css | 8 ++++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/Composer.tsx b/src/components/Composer.tsx index 4d852b0..ce4cbb8 100644 --- a/src/components/Composer.tsx +++ b/src/components/Composer.tsx @@ -140,9 +140,9 @@ export function Composer() { }} > - + - +
diff --git a/src/routes/profile.$did/post.$rkey.image.$i.tsx b/src/routes/profile.$did/post.$rkey.image.$i.tsx index 049969b..60c2703 100644 --- a/src/routes/profile.$did/post.$rkey.image.$i.tsx +++ b/src/routes/profile.$did/post.$rkey.image.$i.tsx @@ -85,7 +85,7 @@ export function Lightbox() { e.stopPropagation(); e.nativeEvent.stopImmediatePropagation(); }} - className="lightbox-sidebar hidden lg:flex overscroll-none disablegutter border-l dark:border-gray-800 was7 border-gray-300 fixed z-50 top-0 right-0 flex-col max-w-[350px] min-w-[350px] max-h-screen overflow-y-scroll dark:bg-gray-950 bg-white" + className="lightbox-sidebar hidden lg:flex overscroll-none disablegutter disablescroll border-l dark:border-gray-800 was7 border-gray-300 fixed z-50 top-0 right-0 flex-col max-w-[350px] min-w-[350px] max-h-screen overflow-y-scroll dark:bg-gray-950 bg-white" > = 64rem /* 1024px */) { html:not(:has(.disablegutter)), body:not(:has(.disablegutter)) { scrollbar-gutter: stable both-edges !important; } - html:has(.disablegutter), - body:has(.disablegutter) { + html:has(.disablescroll), + body:has(.disablescroll) { scrollbar-width: none; overflow-y: hidden; } -- 2.51.2