v2.26.6: fix oversized branded 'i' logo on dashboard pages (#189)

.logo span { display: inline } in dashboard CSS had specificity (0,1,1),
overriding .brand-i { display: inline-block } at (0,1,0). Inline elements
ignore width/height, so the SVG rendered at intrinsic size (~80px tall).
Added .logo .brand-i selector at (0,2,0) to retain inline-block display.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-03-14 15:57:25 +00:00
parent 2bbf896e7c
commit dc0850d339
4 changed files with 21 additions and 4 deletions

View File

@@ -88,8 +88,11 @@
}
/* Branded "i" — inline SVG that matches the logo icon.
Sized to 0.9em so it sits naturally alongside text at any font-size. */
.brand-i {
Sized to 0.9em so it sits naturally alongside text at any font-size.
Uses .logo .brand-i (0,2,0) to beat .logo span (0,1,1) in dashboard CSS
which otherwise forces display:inline and breaks width/height. */
.brand-i,
.logo .brand-i {
display: inline-block;
width: 0.55em;
height: 0.9em;