refactor(control-ui): keep quick settings personal card balanced (#71… · openclaw/openclaw@41282fc
BunsDev
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -404,12 +404,6 @@
|
404 | 404 | fill: currentColor; |
405 | 405 | } |
406 | 406 | |
407 | | -.qs-personal-actions { |
408 | | -display: flex; |
409 | | -gap: 8px; |
410 | | -padding: 10px 16px 16px; |
411 | | -} |
412 | | - |
413 | 407 | .qs-row__chevron svg { |
414 | 408 | width: 12px; |
415 | 409 | height: 12px; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,6 @@ describe("config-quick styles", () => {
|
12 | 12 | expect(css).toContain(".qs-identity-card__error"); |
13 | 13 | expect(css).toContain(".qs-assistant-avatar"); |
14 | 14 | expect(css).toContain(".qs-user-avatar"); |
15 | | -expect(css).toContain(".qs-personal-actions"); |
16 | 15 | expect(css).toContain(".qs-card--personal"); |
17 | 16 | }); |
18 | 17 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -994,9 +994,9 @@ export function renderQuickSettings(props: QuickSettingsProps) {
|
994 | 994 | |
995 | 995 | <div class="qs-grid"> |
996 | 996 | ${renderStack(renderModelCard(props), renderSecurityCard(props))} |
997 | | - ${renderChannelsCard(props)} |
| 997 | + ${renderChannelsCard(props)} ${renderPersonalCard(props)} |
998 | 998 | ${renderStack(renderAppearanceCard(props), renderAutomationsCard(props))} |
999 | | - ${renderPersonalCard(props)} ${renderPresetsCard(props)} |
| 999 | + ${renderPresetsCard(props)} |
1000 | 1000 | </div> |
1001 | 1001 | |
1002 | 1002 | ${renderConnectionFooter(props)} |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。