🎨 table 表头固定
This commit is contained in:
parent
88a2835d5d
commit
abfdf5dd25
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue