Remove hard-coded values for responsive table

issue8117
review56611002
This commit is contained in:
Cédric Krier committed 2019-03-03 23:14:25 +01:00
1 parent e8fb98b771
commit debb6575db
1 file changed
+6 -6
+6 -6
View File
@@ -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;