fix: delimiter-compact style adjustment 调整紧凑型下拉菜单样式以确保与按钮垂直对齐

This commit is contained in:
JayBridge 2025-09-16 16:38:41 +08:00
parent b6d2e44006
commit e2b11ffa32

View file

@ -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按钮样式 */