From 8e7468922696a9892994123c869316613a3e590b Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Tue, 3 Feb 2026 01:27:59 -0600 Subject: [PATCH] fix: settings menu expands upward in collapsed sidebar - Remove redundant subtitle text from DAC wizard welcome (all languages) - Fix collapsed sidebar settings menu to expand upward instead of down - Menu now opens to the right and grows upward, avoiding player overlap --- src/lib/components/UserCard.svelte | 6 +++--- src/lib/i18n/locales/de.json | 2 +- src/lib/i18n/locales/en.json | 2 +- src/lib/i18n/locales/es.json | 2 +- src/lib/i18n/locales/fr.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/components/UserCard.svelte b/src/lib/components/UserCard.svelte index 2b02b7614..0933c9631 100644 --- a/src/lib/components/UserCard.svelte +++ b/src/lib/components/UserCard.svelte @@ -246,12 +246,12 @@ animation: slideUp 150ms ease-out; } - /* Collapsed mode: open to the right */ + /* Collapsed mode: open to the right, expand upward */ .dropdown-menu.collapsed { - bottom: auto; + top: auto; right: auto; left: 100%; - top: 0; + bottom: 0; margin-bottom: 0; margin-left: 8px; animation: slideRight 150ms ease-out; diff --git a/src/lib/i18n/locales/de.json b/src/lib/i18n/locales/de.json index 7f31666ab..2ce62885d 100644 --- a/src/lib/i18n/locales/de.json +++ b/src/lib/i18n/locales/de.json @@ -965,7 +965,7 @@ "triggerTooltip": "DAC-Einrichtungshilfe", "welcome": { "title": "Geführte DAC-Einrichtung", - "subtitle": "Schritt-für-Schritt-Anleitung. Nichts wird automatisch ausgeführt.", + "subtitle": "Schritt-für-Schritt-Anleitung.", "body": "Sie werden Befehle kopieren und im Terminal ausführen. QBZ führt Sie durch jeden Schritt und erklärt alles. Vor Änderungen wird eine Sicherung erstellt.", "start": "Starten" }, diff --git a/src/lib/i18n/locales/en.json b/src/lib/i18n/locales/en.json index e2991a62b..308974e69 100644 --- a/src/lib/i18n/locales/en.json +++ b/src/lib/i18n/locales/en.json @@ -1024,7 +1024,7 @@ "triggerTooltip": "DAC Setup Guide", "welcome": { "title": "Guided DAC Setup", - "subtitle": "Step-by-step instructions. Nothing runs automatically.", + "subtitle": "Step-by-step instructions.", "body": "You will copy and run commands in a terminal. QBZ will guide you and explain each step. A backup will be created before any changes.", "start": "Start" }, diff --git a/src/lib/i18n/locales/es.json b/src/lib/i18n/locales/es.json index e4e2034e4..685e6f204 100644 --- a/src/lib/i18n/locales/es.json +++ b/src/lib/i18n/locales/es.json @@ -1024,7 +1024,7 @@ "triggerTooltip": "Guía de Configuración de DAC", "welcome": { "title": "Configuración Guiada de DAC", - "subtitle": "Instrucciones paso a paso. Nada se ejecuta automáticamente.", + "subtitle": "Instrucciones paso a paso.", "body": "Copiarás y ejecutarás comandos en una terminal. QBZ te guiará y explicará cada paso. Se creará un backup antes de cualquier cambio.", "start": "Comenzar" }, diff --git a/src/lib/i18n/locales/fr.json b/src/lib/i18n/locales/fr.json index 8db2d8136..03ffbbe64 100644 --- a/src/lib/i18n/locales/fr.json +++ b/src/lib/i18n/locales/fr.json @@ -965,7 +965,7 @@ "triggerTooltip": "Guide de configuration DAC", "welcome": { "title": "Configuration guidée du DAC", - "subtitle": "Instructions étape par étape. Rien n'est exécuté automatiquement.", + "subtitle": "Instructions étape par étape.", "body": "Vous allez copier et exécuter des commandes dans un terminal. QBZ vous guidera et expliquera chaque étape. Une sauvegarde sera créée avant toute modification.", "start": "Commencer" },