From 88d5fc58d787f03b811370ed044bbcf943878c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20Lalibert=C3=A9?= Date: Fri, 11 Oct 2024 10:47:34 -0400 Subject: [PATCH] for sortable tables, only show main column when dragging --- .../app/assets/stylesheets/light/application.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bullet_train-themes-light/app/assets/stylesheets/light/application.css b/bullet_train-themes-light/app/assets/stylesheets/light/application.css index 41cfc7873..16a9e9ddf 100644 --- a/bullet_train-themes-light/app/assets/stylesheets/light/application.css +++ b/bullet_train-themes-light/app/assets/stylesheets/light/application.css @@ -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; +} \ No newline at end of file