From 2bafecfb5012729dc5ca7fb30ce36d19bdb5c484 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:08:35 -0400 Subject: [PATCH] Refine sidebar collapse interactions --- 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 +- components/sidebar.html | 9 ++- config/asset-version.js | 2 +- css/style.css | 56 ++++++++++++++++--- index.html | 28 +++++----- js/index.js | 33 ++++++++++- 11 files changed, 107 insertions(+), 32 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 92e24e2c..cc6708a2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -71,6 +71,7 @@ Document the run in PR descriptions so QA can cross-reference results. * **Extensibility:** Future work (live streams, NIP-96 uploads, analytics) should preserve the URL-first strategy and magnet safety rules above. * **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. --- diff --git a/components/iframe_forms/iframe-application-form.html b/components/iframe_forms/iframe-application-form.html index 0e966844..df792e16 100644 --- a/components/iframe_forms/iframe-application-form.html +++ b/components/iframe_forms/iframe-application-form.html @@ -4,7 +4,7 @@ bitvid Whitelist Application Form - +