From 4101aba964d86784246f8d0c4cbc9eabc1ea636e Mon Sep 17 00:00:00 2001 From: zurdi Date: Thu, 17 Sep 2026 11:41:35 +0200 Subject: [PATCH] fix(v2): fold select notes into info wells and unwrap scan settings copy The memory card and scan media notes sat as loose hints under their select; both now live in the select's info well. Scan settings section descriptions were capped at 680px and wrapped early on wide screens; they now take the section width and only wrap when it runs out. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01CZ7NE6z9cJ8zsT3TsCtQds --- .../v2/components/Player/MemoryCardPicker.vue | 17 ++--------------- frontend/src/v2/views/Settings/ScanSettings.vue | 17 ++--------------- 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/frontend/src/v2/components/Player/MemoryCardPicker.vue b/frontend/src/v2/components/Player/MemoryCardPicker.vue index 30dcac285..9b622d1fc 100644 --- a/frontend/src/v2/components/Player/MemoryCardPicker.vue +++ b/frontend/src/v2/components/Player/MemoryCardPicker.vue @@ -12,7 +12,7 @@ // Cards key HARD on `emulator` (that is what claim-time lookup uses); the // optional `platformId` is a display/creation hint only and never scopes the // fetch. -import { RBtn, RDialog, RIcon, RSelect } from "@v2/lib"; +import { RBtn, RDialog, RSelect } from "@v2/lib"; import { computed, ref, watch } from "vue"; import { useI18n } from "vue-i18n"; import type { MemoryCardSchema } from "@/__generated__"; @@ -141,6 +141,7 @@ async function submitCreate(name: string): Promise { :placeholder=" cards.length === 0 ? t('play.no-memory-cards') : undefined " + :info="t('play.memory-card-hint')" @update:model-value="onSelect" /> { - -

- - {{ t("play.memory-card-hint") }} -

@@ -216,13 +212,4 @@ async function submitCreate(name: string): Promise { flex: 1 1 auto; min-width: 0; } - -.r-mc-picker__hint { - display: flex; - align-items: center; - gap: 5px; - margin: 0; - color: var(--r-color-fg-muted); - font-size: var(--r-font-size-xs); -} diff --git a/frontend/src/v2/views/Settings/ScanSettings.vue b/frontend/src/v2/views/Settings/ScanSettings.vue index 2afed0731..58d024e65 100644 --- a/frontend/src/v2/views/Settings/ScanSettings.vue +++ b/frontend/src/v2/views/Settings/ScanSettings.vue @@ -5,7 +5,7 @@ // // Provider / region / language identifiers are proper nouns or codes, so // they stay as data constants; only descriptive prose goes through i18n. -import { RAlert, RIcon, RSelect, RBtn, RSpinner } from "@v2/lib"; +import { RAlert, RSelect, RBtn, RSpinner } from "@v2/lib"; import { storeToRefs } from "pinia"; import { computed, onBeforeUnmount, onMounted, reactive, ref } from "vue"; import { useI18n } from "vue-i18n"; @@ -503,13 +503,10 @@ onBeforeUnmount(() => searchable :disabled="!canEdit" :placeholder="t('settings.scan-media-placeholder')" + :info="t('settings.scan-media-note')" hide-details @update:model-value="setMedia" /> -

- - {{ t("settings.scan-media-note") }} -

@@ -618,7 +615,6 @@ onBeforeUnmount(() => color: var(--r-color-fg-muted); font-size: 13px; line-height: 1.5; - max-width: 680px; } /* When a description sits directly above a field block, drop its bottom padding so the field's own padding provides the gap. */ @@ -636,15 +632,6 @@ onBeforeUnmount(() => border-top: 1px solid var(--r-color-border); } -.r-v2-scan-settings__note { - margin: 0; - display: flex; - align-items: center; - gap: 6px; - font-size: 12px; - color: var(--r-color-fg-faint); -} - .r-v2-scan-settings__toggle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));