fix(waybar): menu font rule must hit label nodes, not rely on inheritance
Some checks failed
Check / eval (push) Has been cancelled
Some checks failed
Check / eval (push) Has been cancelled
The bar '*' matches every node directly — including menu labels — so an
inherited font from 'menu' never applies. 'menu, menu *' out-specifies
it. (Real-menu screenshot showed arrows/checks/icons fixed by 8eb672b
but labels still in the bar's mono face.)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
Arrows/checks are CSS-sized nodes — min-height 0 makes them invisible;
|
Arrows/checks are CSS-sized nodes — min-height 0 makes them invisible;
|
||||||
separators die the same way; the bar's mono face reads wrong in text
|
separators die the same way; the bar's mono face reads wrong in text
|
||||||
menus. */
|
menus. */
|
||||||
menu { font-family: "Inter", sans-serif; }
|
menu, menu * { font-family: "Inter", sans-serif; }
|
||||||
menu menuitem arrow { min-width: 16px; min-height: 16px; }
|
menu menuitem arrow { min-width: 16px; min-height: 16px; }
|
||||||
menu check, menu radio { min-width: 14px; min-height: 14px; }
|
menu check, menu radio { min-width: 14px; min-height: 14px; }
|
||||||
menu separator {
|
menu separator {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
Arrows/checks are CSS-sized nodes — min-height 0 makes them invisible;
|
Arrows/checks are CSS-sized nodes — min-height 0 makes them invisible;
|
||||||
separators die the same way; the glyph-first face reads wrong in text
|
separators die the same way; the glyph-first face reads wrong in text
|
||||||
menus. */
|
menus. */
|
||||||
menu { font-family: "Inter", sans-serif; }
|
menu, menu * { font-family: "Inter", sans-serif; }
|
||||||
menu menuitem arrow { min-width: 16px; min-height: 16px; }
|
menu menuitem arrow { min-width: 16px; min-height: 16px; }
|
||||||
menu check, menu radio { min-width: 14px; min-height: 14px; }
|
menu check, menu radio { min-width: 14px; min-height: 14px; }
|
||||||
menu separator {
|
menu separator {
|
||||||
|
|||||||
Reference in New Issue
Block a user