Skip to content

Commit

Permalink
Merge pull request #923 from bullet-train-co/pascal/fix-sortable-drag…
Browse files Browse the repository at this point in the history
…ged-mirror-table-row

For sortable tables, only show main column when dragging
  • Loading branch information
jagthedrummer authored Oct 17, 2024
2 parents 2f06d32 + 88d5fc5 commit 913eb2f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ ol.breadcrumb li:first-child svg { display: none; }
height: 5px;
@apply bg-primary-500;
}

/*
When dragging a sortable table row, only show the first column, usually containing the element's label.
Can be customize on a per-table basis.
*/
tr.gu-mirror > *:not(:first-child) {
display: none;
}

0 comments on commit 913eb2f

Please sign in to comment.