固定列表头压在表体固定列之上,科目映射表去掉页面级补丁
This commit is contained in:
parent
5d6c007c96
commit
bc383d90db
@ -117,10 +117,6 @@
|
||||
text-align: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
/* 首列被共享「列设置」固定成 position:sticky; z-index:6(见 finance-table-interactions),
|
||||
而粘性表头只有 z-index:4,纵向滚动时数据行的序号会盖住「序号」表头。
|
||||
表头这一格必须抬到固定单元格之上。 */
|
||||
.am-table thead th.am-index { z-index: 7; }
|
||||
|
||||
/* 行内编辑 */
|
||||
/* 注意:td 上有 height:2.5rem + white-space:nowrap(来自 upstream-data-table),
|
||||
|
||||
@ -269,8 +269,16 @@
|
||||
background: var(--vip-surface, #ffffff);
|
||||
}
|
||||
|
||||
/* 固定列的层级阶梯:表体固定单元格 6,粘性表头其它列 4。
|
||||
表头里的固定列如果只有 4,纵向滚动时数据行的固定单元格(6)会盖住表头文字
|
||||
(首列「序号」、末端「操作」都出现过)。这里必须用 !important:
|
||||
`.xxx-table thead th { z-index: 4 }` 特异性比 `thead [data-finance-fixed]` 高,
|
||||
不加会被压回去。与目录表 thead th[data-directory-fixed] 的写法一致。 */
|
||||
thead [data-finance-fixed="true"],
|
||||
thead [data-finance-fixed="end"] { background: var(--vip-content-accent-soft, #f7f0de); }
|
||||
thead [data-finance-fixed="end"] {
|
||||
z-index: 7 !important;
|
||||
background: var(--vip-content-accent-soft, #f7f0de);
|
||||
}
|
||||
|
||||
[data-finance-column-key].is-column-hidden { display: none !important; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user