mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user