: asapien/signet

commit 785190196777ebf3dcdd025c097a59e2215c19cd
parent 15ebe45498bd13ae4ebaa6ef0917a7167f690894
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 19 Sep 2026 05:24:25 +0530

Adjust layout ratio to 75/25 pages and side panel

Change from 70/30 to 75/25 ratio:
- Pages column: 75% width
- Side panel: 25% width

Mobile behavior (< 900px width):
- Layout switches to vertical stacking (flex-direction: column)
- Pages: full width, scrollable
- Side panel: full width below pages, scrollable
- Both columns scroll independently on mobile
- Border and background styling removed on mobile for seamless stacking

Desktop: horizontal side-by-side layout with dividing line.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 file changed, 3 insertions(+), 3 deletions(-)
M
www/style.css
|
6
+++---
diff --git a/www/style.css b/www/style.css
@@ -45,9 +45,9 @@ tr.click:hover td { background: #f6f9fc; }
 
 /* document workspace */
 .workspace { display: flex; width: 100%; height: 100%; gap: 0; }
-.pages { flex: 0 0 70%; padding: 1.2rem; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
-.side { flex: 0 0 30%; padding: 1.2rem; background: var(--bg); border-left: 1px solid var(--line); overflow-y: auto; }
-@media (max-width: 900px) { .workspace { flex-direction: column; } .pages { flex: 0 0 auto; } .side { flex: 0 0 auto; background: transparent; border-left: none; } }
+.pages { flex: 0 0 75%; padding: 1.2rem; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
+.side { flex: 0 0 25%; padding: 1.2rem; background: var(--bg); border-left: 1px solid var(--line); overflow-y: auto; }
+@media (max-width: 900px) { .workspace { flex-direction: column; } .pages { flex: 0 0 auto; overflow-y: visible; } .side { flex: 0 0 auto; background: transparent; border-left: none; overflow-y: visible; } }
 .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; }
 .page > img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; }