HTML Tree: fix columns not being vertically aligned. Closes #2286

This commit is contained in:
Adomas Venčkauskas 2021-12-22 13:37:27 +02:00
parent 1e1969a089
commit af622da78f
2 changed files with 8 additions and 2 deletions

View file

@ -50,7 +50,6 @@
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
box-sizing: border-box; box-sizing: border-box;
height: 100%;
&.primary { &.primary {
display: flex; display: flex;
@ -221,7 +220,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
pointer-events: none; pointer-events: none;
min-height: 90%; max-height: 100%;
} }
} }

View file

@ -24,5 +24,12 @@
.virtualized-table-body, .drag-image-container{ .virtualized-table-body, .drag-image-container{
.cell:not(:first-child) { .cell:not(:first-child) {
border-inline-start: 1px solid #ddd; border-inline-start: 1px solid #ddd;
// A hack to make empty cells have a content, otherwise the border applied
// above has a height of a few pixels in empty cells.
&::after {
content: " ";
border-inline-start: 1px solid transparent;
}
} }
} }