From debb6575dbf3419983cedc2e9e91dc3aa1a61d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 3 Mar 2019 23:14:25 +0100 Subject: [PATCH] Remove hard-coded values for responsive table issue8117 review56611002 --- src/sao.less | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/sao.less b/src/sao.less index c546e48003..61c06785fd 100644 --- a/src/sao.less +++ b/src/sao.less @@ -540,7 +540,7 @@ input.column-boolean { text-align: start !important; /* Force height to empty content */ & > span:empty { - min-height: 20px; + min-height: calc(@line-height-computed + @table-condensed-cell-padding); display: block; } } @@ -574,14 +574,14 @@ input.column-boolean { /* Now like a table header */ position: absolute; /* Top/left values mimic padding */ - top: 6px; - left: 6px; - padding-right: 10px; + top: @table-condensed-cell-padding; + left: @table-condensed-cell-padding; + padding-right: calc(@table-condensed-cell-padding * 2); [dir="rtl"] & { left: unset; - right: 6px; + right: @table-condensed-cell-padding; padding-right: 0; - padding-left: 10px; + padding-left: calc(@table-condensed-cell-padding * 2); } text-align: left; text-align: start;