From d19cd6a237f63b44e2052f950cc7ef22da7e96b2 Mon Sep 17 00:00:00 2001 From: BrianX Date: Tue, 21 Jul 2026 17:50:17 +0800 Subject: [PATCH] fix: repair sftp header controls layout - reset global input styles leaking into the hidden-files checkbox - place host select label inline with the dropdown on one row --- ServerDeck/src/styles/app.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/ServerDeck/src/styles/app.css b/ServerDeck/src/styles/app.css index b24506c..c9f3176 100644 --- a/ServerDeck/src/styles/app.css +++ b/ServerDeck/src/styles/app.css @@ -676,18 +676,20 @@ select { } .sftp-host-select { - min-width: 220px; - display: grid; - gap: 6px; + display: flex; + align-items: center; + gap: 8px; } .sftp-host-select span { margin: 0; - font-size: 11px; + font-size: 12px; color: var(--content-muted); + white-space: nowrap; } .sftp-host-select select { + min-width: 220px; height: 36px; padding: 0 10px; background: var(--content-control-bg); @@ -4902,6 +4904,13 @@ select { } .sftp-hidden-toggle input { + width: auto; + margin: 0; + padding: 0; + border: none; + border-radius: 0; + background: none; + flex-shrink: 0; accent-color: #5b5bd6; }