feat(sidebar): add exclusive right panel setting

This commit is contained in:
t8y2 committed 2026-07-21 21:56:24 +08:00
1 parent bbfbdf7ff5
commit d4c28c5a9a
12 files changed
+197 -32

No files matched your search

@@ -3678,6 +3678,13 @@ onUnmounted(cleanupPreviewEditor);
<p>{{ t("settings.toolbarHiddenHint") }}</p>
</HelpTooltip>
</div>
<div class="flex items-center justify-between gap-4 rounded-md border border-border/60 p-3">
<div class="space-y-1">
<Label for="exclusive-right-sidebar-panels" class="text-sm cursor-pointer">{{ t("settings.exclusiveRightSidebarPanels") }}</Label>
<p class="text-xs text-muted-foreground">{{ t("settings.exclusiveRightSidebarPanelsDescription") }}</p>
</div>
<Switch id="exclusive-right-sidebar-panels" v-model="editToolbarItems.exclusiveRightSidebarPanels" />
</div>
<div class="grid grid-cols-3 gap-2 mt-2">
<div
v-for="item in [