🎨 table 表头固定

This commit is contained in:
Vanessa 2024-10-19 17:46:04 +08:00
parent 88a2835d5d
commit abfdf5dd25

View file

@ -319,9 +319,10 @@
thead {
position: sticky;
top: -1px;
top: 1px;
z-index: 2;
box-shadow: 0 -1px 0 var(--b3-theme-on-surface-light) inset;
box-shadow: 0 -1px 0 var(--b3-border-color) inset, 0 -1px 0 0 var(--b3-border-color);
background-color: var(--b3-theme-background);
}
}