fix(settings): drop default suffix and auto-fit dropdown width

This commit is contained in:
zipg authored and GitHub committed 2026-09-28 22:59:40 +08:00
1 parent 2384a2e2c2
commit 9bb52c198f
12 files changed
+14 -12

No files matched your search

@@ -6657,7 +6657,9 @@ onUnmounted(() => {
<p class="text-xs text-muted-foreground">{{ t("settings.doubleClickStringSelectionModeDescription") }}</p>
</div>
<Select :model-value="editDoubleClickStringSelectionMode" @update:model-value="setDoubleClickStringSelectionMode">
<SelectTrigger id="editor-double-click-string" class="h-8 w-36 shrink-0">
<!-- The option labels are long in several languages; let the trigger hug its value
(bounded) instead of clipping it at a fixed width. -->
<SelectTrigger id="editor-double-click-string" class="h-8 min-w-36 max-w-[13rem] shrink-0">
<SelectValue />
</SelectTrigger>
<SelectContent>