From 8b5afe3a32bc79af401669fd0550f6a08e9f6e2f Mon Sep 17 00:00:00 2001 From: JayBridge <12310903@mail.sustech.edu.cn> Date: Tue, 16 Sep 2025 16:28:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A1=AE=E4=BF=9D=E7=B4=A7=E5=87=91?= =?UTF-8?q?=E5=9E=8B=E4=B8=8B=E6=8B=89=E8=8F=9C=E5=8D=95=E4=B8=8E=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=AF=B9=E9=BD=90=EF=BC=88=E7=9B=B8=E5=90=8C=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E5=92=8C=E5=9E=82=E7=9B=B4=E5=B1=85=E4=B8=AD=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 7f5853b..b298f72 100644 --- a/styles.css +++ b/styles.css @@ -105,7 +105,7 @@ If your plugin does not need CSS, delete this file. /* 紧凑型分隔符下拉容器,放在按钮组内:去掉 Setting 默认的下方 padding 并垂直居中 */ .csv-delimiter-compact { display: flex; - align-items: center; + align-items: center; } .csv-delimiter-compact .setting-item { padding-top: 0 !important; @@ -119,6 +119,23 @@ If your plugin does not need CSS, delete this file. min-width: 72px; /* 视觉上和按钮宽度接近 */ } +/* Fix: ensure compact dropdown aligns with buttons (same height and vertical centering) */ +.csv-delimiter-compact .setting-item { + display: flex !important; + align-items: center !important; + height: 32px !important; /* match button/search input height */ +} +.csv-delimiter-compact .setting-item .setting-item-control { + display: flex !important; + align-items: center !important; + height: 32px !important; +} +.csv-delimiter-compact .dropdown, +.csv-delimiter-compact .dropdown .dropdown-content { + height: 32px !important; + line-height: 32px !important; +} + /* Pin按钮样式 */ .csv-pin-btn { position: absolute;