Skip to content

Commit

Permalink
feat(waterfall): implement sticky headers and col resize
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantgupta25 committed Jan 9, 2025
1 parent 180996a commit 025b02d
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
border: none !important;
}

.div-thead {
position: sticky;
top: 0;
z-index: 2;
background-color: var(--bg-ink-500) !important;
}

.div-tr {
display: flex;
width: 100%;
Expand Down Expand Up @@ -158,19 +165,20 @@
width: calc(100% - var(--header-span-name-size) * 1px) !important;
}
.resizer {
width: 10px !important;
position: absolute;
top: 0;
height: 100%;
height: 50vh;
right: 0;
width: 2px;
background: lightgray;
background: var(--bg-slate-400);
cursor: col-resize;
user-select: none;
touch-action: none;
}

.resizer.isResizing {
background: blue;
background: var(--bg-slate-300);
opacity: 1;
}

Expand Down

0 comments on commit 025b02d

Please sign in to comment.