fix: move upgrade action beside user name

This commit is contained in:
2026-07-21 11:36:10 +08:00
parent b00cacd460
commit 8b29c2c090
2 changed files with 5 additions and 1 deletions

View File

@@ -1918,6 +1918,7 @@
}
.status-user {
gap: 8px;
border: 0;
background: transparent;
color: rgba(255, 255, 255, 0.86);

View File

@@ -33,6 +33,10 @@ export function ProjectStatusbar() {
<Text className="status-name"></Text>
<span className="status-online-dot" aria-label="在线" title="在线" />
</span>
<Button className="status-upgrade" size="mini" type="primary" onClick={(event) => {
event.stopPropagation()
setUpgradeOpen(true)
}}></Button>
</button>
<Space className="status-system" size={18}>
@@ -42,7 +46,6 @@ export function ProjectStatusbar() {
<span><IconThunderbolt /> 稿</span>
<span><IconStorage /> 152GB </span>
<span> <b></b></span>
<Button className="status-upgrade" size="mini" type="primary" onClick={() => setUpgradeOpen(true)}></Button>
<IconApps />
</Space>
</Footer>