Commit 3f6095e5 authored by edy's avatar edy

feat(ui): add icons to sidebar 数字员工 and 会话管理 sections

Align sidebar-section-copy layout with Windows client (flex instead of grid)
to keep icon and text on the same line.
Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
parent 0e954cbb
......@@ -128,6 +128,7 @@ export function ExpertTree({
<section className="sidebar-section compact sidebar-experts-entry">
<div className="sidebar-section-head sidebar-digital-workers-title">
<div className="sidebar-section-copy">
<span className="sidebar-section-icon" aria-hidden="true">🤖</span>
<strong className="sidebar-section-title">数字员工</strong>
</div>
</div>
......
......@@ -39,6 +39,7 @@ export function SessionList({
<section className="sidebar-section sidebar-section-fill compact sidebar-session-section">
<div className="sidebar-section-head sidebar-section-head-subtle">
<div className="sidebar-section-copy">
<span className="sidebar-section-icon" aria-hidden="true">💬</span>
<span className="sidebar-section-label">{label}</span>
</div>
</div>
......
......@@ -652,8 +652,9 @@
.sidebar-section-copy {
min-width: 0;
display: grid;
gap: 0;
display: flex;
align-items: center;
gap: 6px;
}
.sidebar-section-label {
......
......@@ -351,6 +351,11 @@
letter-spacing: 0;
}
.shell.openclaw-theme .sidebar-section-icon {
font-size: 14px;
line-height: 1;
}
.shell.openclaw-theme .sidebar-section-title {
color: #0f2f59;
font-size: 13px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment