mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-23 19:08:22 -06:00
fix(ui): restore task count badge (#124840)
This commit is contained in:
committed by
GitHub
parent
72ddf22b93
commit
03f4ff5cc2
@@ -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();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user