Sidebar: hide the Classic SVG nav icons outside the Classic layout

They relied on the hidden attribute, which browsers do not reliably honour on
SVG elements, so in Glass Stage each nav item drew a full-size black icon.
This commit is contained in:
Jonathan Sykes
2026-10-03 07:29:38 +08:00
parent 5154ef5f75
commit 47feded91b

View File

@@ -4310,3 +4310,7 @@ html.ios-nozoom, html.ios-nozoom body { touch-action: manipulation; }
/* The last card of a list scrolls clear of the bottom nav + mini player
(--bottom-chrome is measured in app.js updateBottomChrome). */
#listPane { padding-bottom: calc(var(--bottom-chrome, 0px) + 32px) !important; }
/* Classic-layout SVG nav icons: `hidden` is not reliably honoured on SVG, so
hide them explicitly everywhere; theme-classic.css shows them in Classic. */
.classic-nav-icon { display: none; }