From e54f7697a6950b51c5d348ffd027c641abbb5225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sat, 14 May 2022 15:07:04 -0300 Subject: Fix table cells spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- themes/bootstrap/scss/_common.scss | 4 ---- themes/metro/scss/_common.scss | 4 ---- themes/metro/scss/_variables.scss | 6 ++++-- themes/original/scss/_common.scss | 4 ---- themes/original/scss/_variables.scss | 6 ++++-- themes/pmahomme/scss/_common.scss | 4 ---- themes/pmahomme/scss/_variables.scss | 6 ++++-- 7 files changed, 12 insertions(+), 22 deletions(-) diff --git a/themes/bootstrap/scss/_common.scss b/themes/bootstrap/scss/_common.scss index f894926f20..24927ccf71 100644 --- a/themes/bootstrap/scss/_common.scss +++ b/themes/bootstrap/scss/_common.scss @@ -1011,10 +1011,6 @@ select.invalid_value, overflow: hidden; } -#tablestructure tbody label { - margin: 0.3rem 0; -} - #structure-action-links a { margin-right: 1em; } diff --git a/themes/metro/scss/_common.scss b/themes/metro/scss/_common.scss index 8a41db8004..59c34f774e 100644 --- a/themes/metro/scss/_common.scss +++ b/themes/metro/scss/_common.scss @@ -1187,10 +1187,6 @@ input { overflow: hidden; } -#tablestructure tbody label { - margin: 0.3rem 0; -} - #structure-action-links a { margin-right: 1em; } diff --git a/themes/metro/scss/_variables.scss b/themes/metro/scss/_variables.scss index 0c2461574b..d456bf442d 100644 --- a/themes/metro/scss/_variables.scss +++ b/themes/metro/scss/_variables.scss @@ -183,8 +183,10 @@ $headings-font-weight: normal; // Tables -$table-cell-padding: 0.6em; -$table-cell-padding-sm: $table-cell-padding; +$table-cell-padding-y: 0.6em; +$table-cell-padding-x: 0.6em; +$table-cell-padding-y-sm: $table-cell-padding-y; +$table-cell-padding-x-sm: $table-cell-padding-x; $table-bg: $bg-two; $table-head-bg: #fff; $table-head-color: $th-color; diff --git a/themes/original/scss/_common.scss b/themes/original/scss/_common.scss index 249c2a0cb8..d3ce71a0d9 100644 --- a/themes/original/scss/_common.scss +++ b/themes/original/scss/_common.scss @@ -1011,10 +1011,6 @@ select.invalid_value, vertical-align: middle; } -#tablestructure tbody label { - margin: 0.3rem 0; -} - #structure-action-links a { margin-right: 1em; } diff --git a/themes/original/scss/_variables.scss b/themes/original/scss/_variables.scss index 0a236c8a6f..4b40f74abf 100644 --- a/themes/original/scss/_variables.scss +++ b/themes/original/scss/_variables.scss @@ -82,8 +82,10 @@ $headings-font-weight: bold; // Tables -$table-cell-padding: 0.1em 0.5em; -$table-cell-padding-sm: $table-cell-padding; +$table-cell-padding-y: 0.1em; +$table-cell-padding-x: 0.5em; +$table-cell-padding-y-sm: $table-cell-padding-y; +$table-cell-padding-x-sm: $table-cell-padding-x; $table-bg: $bg-one; $table-striped-order: even; $table-striped-bg: $bg-two; diff --git a/themes/pmahomme/scss/_common.scss b/themes/pmahomme/scss/_common.scss index 9d3c3e23b5..4c1e548520 100644 --- a/themes/pmahomme/scss/_common.scss +++ b/themes/pmahomme/scss/_common.scss @@ -1197,10 +1197,6 @@ input#import_merge { overflow: hidden; } -#tablestructure tbody label { - margin: 0.3rem 0; -} - #structure-action-links a { margin-right: 1em; } diff --git a/themes/pmahomme/scss/_variables.scss b/themes/pmahomme/scss/_variables.scss index a59ab3ee41..8a881157e6 100644 --- a/themes/pmahomme/scss/_variables.scss +++ b/themes/pmahomme/scss/_variables.scss @@ -76,8 +76,10 @@ $h3-font-size: 1rem; // Tables -$table-cell-padding: 0.1em 0.3em; -$table-cell-padding-sm: $table-cell-padding; +$table-cell-padding-y: 0.1em; +$table-cell-padding-x: 0.3em; +$table-cell-padding-y-sm: $table-cell-padding-y; +$table-cell-padding-x-sm: $table-cell-padding-x; $table-bg: #fff; $table-head-bg: #fff; $table-head-color: $th-color; -- cgit v1.2.3