mirror of
https://github.com/liubinfighter/csv-lite.git
synced 2026-07-22 05:43:52 +00:00
fix: delimiter-compact style adjustment 调整紧凑型下拉菜单样式以确保与按钮垂直对齐
This commit is contained in:
parent
b6d2e44006
commit
e2b11ffa32
1 changed files with 15 additions and 4 deletions
19
styles.css
19
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按钮样式 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue