From f73bbb467c1f1b6e2ed832437c963ea6f206d70f Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Sat, 6 Jun 2026 20:43:42 +0200 Subject: [PATCH] fix(toolbar): add missing CSS rule for the mentions icon The toolbar renders a mentions button (`ToolbarItemView icon="mentions"` -> `
`) and the asset `assets/images/toolbar/icons/mentions.png` (72x64) exists, but icons.css had no `.nitro-icon.icon-mentions` rule - so the element had no background image and, since the base `.nitro-icon` sets no size, rendered at 0x0 (invisible). Add the rule, sized at half the asset (36x32, preserving the 9:8 aspect) with `background-size: contain`, matching the other toolbar icon definitions. --- src/css/icons/icons.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/css/icons/icons.css b/src/css/icons/icons.css index 17a903f..50f390c 100644 --- a/src/css/icons/icons.css +++ b/src/css/icons/icons.css @@ -36,6 +36,13 @@ height: 36px; } +.nitro-icon.icon-mentions { + background-image: url("@/assets/images/toolbar/icons/mentions.png"); + background-size: contain; + width: 36px; + height: 32px; +} + .nitro-icon.icon-buildersclub { background-image: url("@/assets/images/toolbar/icons/buildersclub.png"); background-size: contain;