commit 6e8156be8eeefa1d9aa5ebc6aef5b761961bfff1
parent c829fbf4b1960f7618709dfdb0a3598a941c0da6
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 19 Sep 2026 05:20:35 +0530
parent c829fbf4b1960f7618709dfdb0a3598a941c0da6
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 19 Sep 2026 05:20:35 +0530
Fix: Position scrollbar between pages and side panel Adjusted side panel positioning from right: 0 to right: 17px to account for scrollbar width. This ensures the layout is: [pages] | [scrollbar] | [side panel] Not: [pages] | [side panel] | [scrollbar] The 17px offset is standard for most browsers' scrollbar width. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/style.css b/www/style.css @@ -46,7 +46,7 @@ tr.click:hover td { background: #f6f9fc; } /* document workspace */ .workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; width: 100%; max-width: calc(100% - 380px); margin: 0 auto; position: relative; } @media (max-width: 900px) { .workspace { max-width: 100%; } } -.side { position: fixed; right: 0; top: 2.8rem; width: 360px; max-height: calc(100vh - 4.4rem); overflow-y: auto; background: var(--bg); padding-right: 1.2rem; z-index: 50; } +.side { position: fixed; right: 17px; top: 2.8rem; width: 360px; max-height: calc(100vh - 4.4rem); overflow-y: auto; background: var(--bg); padding-right: 1.2rem; z-index: 50; } @media (max-width: 900px) { .side { position: relative; right: auto; top: auto; width: 100%; max-height: none; background: transparent; padding-right: 0; margin-top: 1rem; } } .pages { display: flex; flex-direction: column; gap: 1rem; align-items: center; } .page { position: relative; width: 100%; max-width: 1000px; background: #fff; box-shadow: 0 1px 4px rgba(20, 30, 45, .25); line-height: 0; }
: asapien/signet