diff --git a/src/layouts/AppShell.tsx b/src/layouts/AppShell.tsx index 6dc9349..150fd1a 100644 --- a/src/layouts/AppShell.tsx +++ b/src/layouts/AppShell.tsx @@ -87,8 +87,10 @@ export function AppShell({ return ( - {item.label} - {item.pending ? 待开发 : null} + + {item.label} + {item.pending ? 待开发 : null} + ); })} diff --git a/src/styles/global.css b/src/styles/global.css index 5534147..d061bb6 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -294,7 +294,14 @@ h3 { } .side-nav-label { + align-items: center; + display: inline-flex; flex: 1; + gap: var(--space-1); + min-width: 0; +} + +.side-nav-label-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; @@ -314,6 +321,10 @@ h3 { white-space: nowrap; } +.side-nav-pending-badge { + margin-left: 2px; +} + .ui-tabs__tab { align-items: center; display: inline-flex;