fix(v1.9.5): 表格操作列不再撑高行、去掉行间空隙
- .actions 改 inline-flex、去换行、垂直居中,按钮统一内边距与行高 - 表格单元格统一上下内边距,操作列 nowrap,避免按钮撑出多余高度 - 仍为 v1.9.5,仅前端样式
This commit is contained in:
@@ -1423,4 +1423,22 @@ a:hover { color: var(--ink-green-3); }
|
||||
[data-bs-theme="dark"] .summary, [data-bs-theme="dark"] .summary b, [data-bs-theme="dark"] .summary span, [data-bs-theme="dark"] .summary em {
|
||||
color: #dff5ea !important;
|
||||
}
|
||||
[data-theme="dark"] .summary .due-ok, [data-bs-theme="dark"] .summary .due-ok { color: #63d6ad !important; }
|
||||
[data-theme="dark"] .summary .due-ok, [data-bs-theme="dark"] .summary .due-ok { color: #63d6ad !important; }
|
||||
/* ---------- v1.9.5:表格操作列高度与行高对齐 ---------- */
|
||||
.table > tbody > tr > td { padding-block: .55rem; vertical-align: middle; }
|
||||
.table td .actions, td .actions, .actions {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-wrap: nowrap;
|
||||
vertical-align: middle;
|
||||
line-height: 1;
|
||||
}
|
||||
.actions > * , .actions .btn, .actions a, .actions form { margin: 0 !important; }
|
||||
.actions .btn, td .actions .btn {
|
||||
padding: .18rem .55rem;
|
||||
line-height: 1.35;
|
||||
font-size: .8rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.table td:last-child { white-space: nowrap; }
|
||||
Reference in New Issue
Block a user