diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-05-14 21:07:04 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-05-14 23:32:16 +0300 |
commit | e54f7697a6950b51c5d348ffd027c641abbb5225 (patch) | |
tree | 2d68cbb79e05ac69b62b8564b239ece2d5b5c831 /themes | |
parent | 9f076774e580950284150afb2e5d9e29b17df900 (diff) |
Fix table cells spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bootstrap/scss/_common.scss | 4 | ||||
-rw-r--r-- | themes/metro/scss/_common.scss | 4 | ||||
-rw-r--r-- | themes/metro/scss/_variables.scss | 6 | ||||
-rw-r--r-- | themes/original/scss/_common.scss | 4 | ||||
-rw-r--r-- | themes/original/scss/_variables.scss | 6 | ||||
-rw-r--r-- | themes/pmahomme/scss/_common.scss | 4 | ||||
-rw-r--r-- | 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; |