From e2b11ffa32181aa17cc73bd65e3b396156c126d1 Mon Sep 17 00:00:00 2001 From: JayBridge <12310903@mail.sustech.edu.cn> Date: Tue, 16 Sep 2025 16:38:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20delimiter-compact=20style=20adjustment?= =?UTF-8?q?=20=E8=B0=83=E6=95=B4=E7=B4=A7=E5=87=91=E5=9E=8B=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F=E4=BB=A5=E7=A1=AE?= =?UTF-8?q?=E4=BF=9D=E4=B8=8E=E6=8C=89=E9=92=AE=E5=9E=82=E7=9B=B4=E5=AF=B9?= =?UTF-8?q?=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/styles.css b/styles.css index 7f5853b..b2cdb89 100644 --- a/styles.css +++ b/styles.css @@ -108,15 +108,26 @@ If your plugin does not need CSS, delete this file. align-items: center; } .csv-delimiter-compact .setting-item { - padding-top: 0 !important; - padding-bottom: 0 !important; /* 去掉 11.25px 的底部内边距 */ - margin: 0 !important; + display: flex !important; + align-items: center !important; + padding-top: 0 !important; + padding-bottom: 0 !important; /* 去掉 11.25px 的底部内边距 */ + margin: 0 !important; } .csv-delimiter-compact .setting-item .setting-item-info { display: none; /* 隐藏多余描述,保持紧凑 */ } .csv-delimiter-compact .dropdown { - min-width: 72px; /* 视觉上和按钮宽度接近 */ + min-width: 72px; /* 视觉上和按钮宽度接近 */ +} +/* Align dropdown vertically with buttons */ +.csv-delimiter-compact .setting-item-control { + margin: 0 !important; +} +.csv-delimiter-compact .setting-item-control .dropdown { + height: 32px !important; + padding: 0 8px !important; + line-height: 32px !important; } /* Pin按钮样式 */