mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Better handle background color for dir preview table (#944)
This commit is contained in:
parent
1737c686c2
commit
a1e0d03fcc
@ -15,15 +15,25 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
&:not([data-scroll-height="0"]) .dir-table-head {
|
||||
background: rgba(10, 10, 10, 0.5);
|
||||
&:not([data-scroll-height="0"]) .dir-table-head::after {
|
||||
background: rgb(from var(--block-bg-color) r g b / 0.2);
|
||||
}
|
||||
|
||||
.dir-table-head::after {
|
||||
content: "";
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
.dir-table-head {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
width: fit-content;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
|
||||
.dir-table-head-row {
|
||||
|
Loading…
Reference in New Issue
Block a user