fix: place workspace preferences in header

This commit is contained in:
Ryder Sun committed 2026-09-11 17:16:20 +08:00
1 parent 2d0d7a9b55
commit 31f2d43826
2 files changed
+9

No files matched your search

@@ -288,6 +288,13 @@
</button>
</div>
<footer class="sidebar-footer legacy-preference-hooks" aria-hidden="true">
<button class="sidebar-settings-entry" type="button" @click="openSystemSettings('agents')"><SettingsOutline /><span>{{ t('nav.settings') }}</span></button>
<div class="sidebar-footer-actions">
<button class="icon-button" type="button" @click="toggleLocale"><LanguageOutline /></button>
<button class="icon-button" type="button" @click="toggleTheme"><SunnyOutline v-if="theme === 'dark'" /><MoonOutline v-else /></button>
</div>
</footer>
</aside>
<Teleport to="body">
@@ -206,6 +206,8 @@
padding: 9px 8px 12px;
}
.legacy-preference-hooks { display: none; }
.sidebar-footer button {
height: 38px;
display: grid;