mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
fix(toolbar): add missing CSS rule for the mentions icon
The toolbar renders a mentions button (`ToolbarItemView icon="mentions"` -> `<div class="nitro-icon 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.
This commit is contained in:
@@ -36,6 +36,13 @@
|
|||||||
height: 36px;
|
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 {
|
.nitro-icon.icon-buildersclub {
|
||||||
background-image: url("@/assets/images/toolbar/icons/buildersclub.png");
|
background-image: url("@/assets/images/toolbar/icons/buildersclub.png");
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
|
|||||||
Reference in New Issue
Block a user