Fix styles when using no sticky columns
This commit is contained in:
parent
265f2d9ba3
commit
ff0f91bca3
2 changed files with 4 additions and 4 deletions
|
@ -101,9 +101,6 @@
|
|||
.cell.label {
|
||||
padding: var(--cell-padding);
|
||||
flex: 0 0 40px;
|
||||
border-right: none;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
.sticky-column {
|
||||
flex: 0 0 calc(var(--width) + 0px);
|
||||
}
|
||||
.sticky-column.scrolled :global(.cell:not(.label):after) {
|
||||
.sticky-column.scrolled :global(.cell:last-child:after) {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
|
@ -162,6 +162,9 @@
|
|||
left: 100%;
|
||||
background: linear-gradient(to right, rgba(0, 0, 0, 0.08), transparent);
|
||||
}
|
||||
.sticky-column :global(.cell:not(:last-child)) {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.header {
|
||||
border-bottom: var(--cell-border);
|
||||
|
|
Loading…
Reference in a new issue