fix top bar bubbles #9

Merged
archvillainette merged 2 commits from fix-top-bar-bubbles into main 2026-06-26 16:59:08 +00:00
3 changed files with 7 additions and 1 deletions
Showing only changes of commit 8c52a5d5f1 - Show all commits
+1
View File
@@ -33,6 +33,7 @@ Follow the current NodeBB theme model:
- Template overrides belong under `templates/` and must preserve the same relative path as the Harmony template they replace.
- Do not copy or redefine Harmony templates unless an actual override is needed.
- If a template does not exist here, NodeBB inherits it from the configured base theme.
- In the Westgate topbar, notification, chat, draft, and navigation count bubbles must honor NodeBB/Harmony's `hidden` class and only display when there is an actual count to check.
NodeBB theme documentation: https://docs.nodebb.org/development/themes/
+1 -1
View File
@@ -149,7 +149,7 @@ $wg-topbar-panel-bg: linear-gradient(
color: #fff0dc;
}
.wg-topbar__utility-list .visible-closed {
.wg-topbar__utility-list .visible-closed:not(.hidden) {
display: inline-block !important;
}
+5
View File
@@ -74,6 +74,11 @@ assertIncludes(
'.wg-topbar',
'Topbar styles should be scoped to .wg-topbar'
);
assertIncludes(
stylesheet,
'.wg-topbar__utility-list .visible-closed:not(.hidden)',
'Topbar collapsed utility labels should not override hidden count badges'
);
assertIncludes(
client,
'initWestgateTopbar',