From 58fd6ef7d5dabc106b4f73df0d2baf0705874896 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:46:02 -0400 Subject: [PATCH] Tighten collapsed sidebar rail spacing --- AGENTS.md | 1 + .../iframe_forms/iframe-application-form.html | 2 +- .../iframe_forms/iframe-bug-fix-form.html | 2 +- .../iframe-content-appeals-form.html | 2 +- .../iframe_forms/iframe-feedback-form.html | 2 +- .../iframe_forms/iframe-request-form.html | 2 +- config/asset-version.js | 2 +- css/style.css | 16 +++++------ index.html | 28 +++++++++---------- 9 files changed, 29 insertions(+), 28 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index cc6708a2..3d14ccf4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -72,6 +72,7 @@ Document the run in PR descriptions so QA can cross-reference results. * **Sidebar layering:** Keep the fixed sidebar below every modal and overlay. Respect the `--z-sidebar*` tokens so dialogs always render on top of the navigation. * **Static asset cache busting:** The CDN aggressively caches `components/sidebar.html` and CSS/JS bundles. Update `config/asset-version.js` and keep the `?v=` query strings in `index.html` (and iframe form shells) in sync whenever you change sidebar markup, scripts, or styles. The fetch helpers in `js/index.js` already append `cache: "no-store"`; reuse them for new partials so desktop collapses ship immediately without waiting on manual cache clears. * **Sidebar overflow styling:** Desktop media queries in `css/style.css` used to force `overflow-x: hidden` on `#sidebar`, which clipped the navigation panel’s drop shadow. When adjusting rail dimensions, update both the base `#sidebar` rule and the desktop override so the gradient card can bleed over the white canvas. `#sidebarContainer` now keeps overflow visible while `.sidebar__inner` handles scrolling; stick with that division when extending the layout. +* **Collapsed rail padding:** The collapsed rail keeps icons full-size by pairing reduced padding on `.sidebar__inner`, `.sidebar-panel`, and `.sidebar-nav-link`. Update the trio together so 4 rem still fits the 2.75 rem toggle button and 1.5 rem glyphs without squishing the gradients. --- diff --git a/components/iframe_forms/iframe-application-form.html b/components/iframe_forms/iframe-application-form.html index df792e16..7a7ac774 100644 --- a/components/iframe_forms/iframe-application-form.html +++ b/components/iframe_forms/iframe-application-form.html @@ -4,7 +4,7 @@