fix(ui): restore task count badge (#124840)

This commit is contained in:
Vyctor H. Brzezowski
2026-08-16 19:48:19 -03:00
committed by GitHub
parent 72ddf22b93
commit 03f4ff5cc2
2 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -398,8 +398,8 @@ suite.define(() => {
[16, 16],
[16, 16],
],
taskBadgeCenterDelta: 0,
taskBadgeContained: true,
taskBadgeCenterDelta: 6,
taskBadgeContained: false,
});
await page.locator(".chat-side-panel-toggle").click();
+14 -12
View File
@@ -585,21 +585,23 @@ openclaw-chat-pane {
}
.chat-pane__actions .chat-tasks-toggle {
width: auto;
gap: 3px;
padding-inline: 5px;
position: relative;
}
.chat-tasks-toggle__badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 7px;
color: currentColor;
font-size: 11px;
font-variant-numeric: tabular-nums;
font-weight: 500;
line-height: 1;
position: absolute;
top: 0;
right: -2px;
min-width: 14px;
height: 14px;
padding: 0 3px;
border-radius: var(--radius-full);
background: var(--primary);
color: var(--primary-foreground);
font-size: 9px;
font-weight: 650;
line-height: 14px;
text-align: center;
}
.chat-pane__sharing-menu {