Skip to content

Commit

Permalink
for sortable tables, only show main column when dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
pascallaliberte committed Oct 11, 2024
1 parent 397cb81 commit 88d5fc5
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 88d5fc5

Please sign in to comment.