fix:优化工作面板,支持动态字数

This commit is contained in:
Daniel
2026-04-21 13:14:53 +08:00
parent e69666dbb3
commit d76c7fa25a
6 changed files with 159 additions and 26 deletions

View File

@@ -327,6 +327,36 @@ label {
margin-top: 4px;
}
.target-chars-quick {
display: flex;
gap: 8px;
margin-top: 8px;
flex-wrap: wrap;
}
.target-char-chip {
width: auto;
margin-top: 0;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid #cbd5e1;
background: #fff;
color: #334155;
font-size: 12px;
font-weight: 700;
line-height: 1.5;
}
.target-char-chip:hover {
background: #f8fafc;
}
.target-char-chip.is-active {
border-color: var(--accent);
background: var(--accent-soft);
color: var(--accent-2);
}
.meta {
color: var(--muted);
font-size: 12px;