From 66da7efe4a56587707cf50330aca09d555df0245 Mon Sep 17 00:00:00 2001
From: illusia <64828020+EchoSixHIYA@users.noreply.github.com>
Date: Wed, 2 Sep 2026 15:48:39 +0800
Subject: [PATCH] fix(web): align settings icons on narrow screens
---
web/src/components/Icon.vue | 2 +-
web/src/views/WebClient.vue | 10 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/web/src/components/Icon.vue b/web/src/components/Icon.vue
index b6147ab..aa389f2 100644
--- a/web/src/components/Icon.vue
+++ b/web/src/components/Icon.vue
@@ -26,8 +26,8 @@
+
-
diff --git a/web/src/views/WebClient.vue b/web/src/views/WebClient.vue
index b55d73a..534e8f0 100644
--- a/web/src/views/WebClient.vue
+++ b/web/src/views/WebClient.vue
@@ -10,7 +10,7 @@
{{ t('browserWorkspace') }}
-
+
@@ -99,7 +99,7 @@
-
+
@@ -1617,6 +1617,7 @@ function stopWhisperTalk(): void {
/* Keep connected controls in the header; the old bottom dock consumed the
chat viewport and made the settings action appear detached from its icon. */
.header-tools { align-items: center; }
+.header-action, .round-icon { line-height: 0; }
.guide-button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; color: #006a64; background: #edf7f4; border: 1px solid #d7ebe6; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.guide-button:hover { color: #fff; background: #006a64; border-color: #006a64; }
.workspace-actions { align-items: center; flex-wrap: nowrap; }
@@ -1903,6 +1904,9 @@ function stopWhisperTalk(): void {
}
@media (max-width: 390px) {
+ .join-page .header-tools { gap: 4px; }
+ .join-page .github-button, .join-page .guide-button { width: 32px; min-width: 32px; min-height: 32px; height: 32px; }
+ .join-page .language-switch { min-width: 44px; padding-inline: 6px; font-size: 11px; }
.workspace-header { padding-inline: 10px; }
.channel-switcher { max-width: 112px; }
.channel-switcher select { max-width: 72px; }
@@ -1910,6 +1914,8 @@ function stopWhisperTalk(): void {
.disconnect-button { width: 32px; height: 32px; }
.room-hero { padding-inline: 16px; }
.mobile-voice-settings { width: 56px; padding-inline: 4px; }
+ .mobile-voice-toggle { flex: 0 0 44px; padding-inline: 0; }
+ .mobile-voice-toggle span { display: none; }
.mobile-voice-settings span { display: none; }
.join-content { gap: 18px; }
.join-card { padding-inline: 15px; }