From 78f534b5eafd46a6186f86124fdcd46a928f2427 Mon Sep 17 00:00:00 2001 From: sboursen-scinote Date: Fri, 10 Feb 2023 14:56:54 +0100 Subject: [PATCH] Fix the width of the checkbox column in inventory table [SCI-7772] --- app/assets/stylesheets/extend/datatable.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/extend/datatable.scss b/app/assets/stylesheets/extend/datatable.scss index a0be66cc0..2d16c2005 100644 --- a/app/assets/stylesheets/extend/datatable.scss +++ b/app/assets/stylesheets/extend/datatable.scss @@ -40,7 +40,11 @@ th, td { - padding: 8px; + padding: 12px; + + &:first-child { + width: 16px !important; + } } } } @@ -55,6 +59,11 @@ td { padding-left: 10px; + + &:first-child { + display: flex; + justify-content: center; + } } .dt-body-center {