1
0
Fork 0
mirror of synced 2024-09-10 22:46:09 +12:00

Fix styles when using no sticky columns

This commit is contained in:
Andrew Kingston 2023-03-02 11:25:06 +00:00
parent 265f2d9ba3
commit ff0f91bca3
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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);