Skip to content

Commit

Permalink
Merge branch 'main' into update-dvc
Browse files Browse the repository at this point in the history
  • Loading branch information
sroy3 authored Apr 13, 2023
2 parents 9f3de93 + 0d619a4 commit 3f723e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const ColumnDragHandle: React.FC<{
onDrop={onDrop}
onDragLeave={onDragLeave}
>
<span>
<span className={header.isPlaceholder ? '' : styles.cellDraggable}>
{header.isPlaceholder
? null
: flexRender(header.column.columnDef.header, header.getContext())}
Expand Down
10 changes: 6 additions & 4 deletions webview/src/experiments/components/table/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,13 @@ table.withExpColumnShadow tr > *:first-child {
display: block;

span[draggable='true'] {
display: block;
cursor: grab;
}

.cellDraggable {
display: block;
padding: 0.31rem $cell-padding;
}
}

& > *:first-child {
Expand Down Expand Up @@ -566,9 +570,6 @@ td {

.placeholderHeaderCell {
background-color: $header-bg-color;
.cellContents {
padding: 0.31rem $cell-padding;
}

&::before {
@extend %cellBorderLeft;
Expand Down Expand Up @@ -841,6 +842,7 @@ td {
overflow-x: hidden;
text-overflow: ellipsis;
text-align: left;
pointer-events: none;
}

thead {
Expand Down

0 comments on commit 3f723e6

Please sign in to comment.