From daa8c504998d953d9b287e8acb7a873586116ed8 Mon Sep 17 00:00:00 2001 From: Alfred Date: Fri, 13 Feb 2026 00:20:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(webui):=20=E7=BB=9F=E4=B8=80=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E9=A1=B5=E6=8C=89=E9=92=AE=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 挂载/卸载 SD 按钮与 SD卡/SPIFFS Tab 按钮高度一致 (2rem) - 操作列下载/重命名/删除按钮统一高度 (28px) --- components/ts_webui/web/css/style.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/components/ts_webui/web/css/style.css b/components/ts_webui/web/css/style.css index 521e96a..24294c4 100644 --- a/components/ts_webui/web/css/style.css +++ b/components/ts_webui/web/css/style.css @@ -3729,6 +3729,18 @@ button.btn-gray:hover, margin-left: auto; } +/* 挂载/卸载 SD 按钮与 Tab(SD卡、SPIFFS)高度一致 */ +.storage-tabs .storage-controls .btn { + height: 2rem; + min-height: 2rem; + padding-top: 0; + padding-bottom: 0; + display: inline-flex; + align-items: center; + justify-content: center; + box-sizing: border-box; +} + .btn-success { background-color: var(--emerald-50); border-color: transparent; @@ -3882,6 +3894,18 @@ button.btn-gray:hover, margin: 0 2px; } +/* 操作列按钮(下载、重命名、删除)统一高度 */ +.file-actions-cell .btn.btn-sm { + height: 28px; + min-height: 28px; + padding-top: 0; + padding-bottom: 0; + display: inline-flex; + align-items: center; + justify-content: center; + box-sizing: border-box; +} + .empty-folder { padding: 40px; text-align: center;