From 2594cad0bf252cfbb3d71aed2a97126a247d4b1e Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 14 Mar 2021 16:16:11 +0100 Subject: [PATCH] grid fixes, form switch lg --- src/scss/ui/_cards.scss | 1 - src/scss/ui/_grid.scss | 8 ++++---- src/scss/ui/forms/_form-check.scss | 8 ++++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/scss/ui/_cards.scss b/src/scss/ui/_cards.scss index c20cebd2..d9e87bbc 100644 --- a/src/scss/ui/_cards.scss +++ b/src/scss/ui/_cards.scss @@ -216,7 +216,6 @@ Card footer .card-subtitle { margin-top: -$card-spacer-y; margin-bottom: $card-spacer-y; - font-size: $small-font-size; color: $text-muted; } diff --git a/src/scss/ui/_grid.scss b/src/scss/ui/_grid.scss index e233f5ce..eff5a623 100644 --- a/src/scss/ui/_grid.scss +++ b/src/scss/ui/_grid.scss @@ -94,11 +94,11 @@ } > :not(template):not(:first-child) { - padding-top: $size/2 !important; + padding-top: $size !important; } > :not(template):not(:last-child) { - padding-bottom: $size/2 !important; + padding-bottom: $size !important; } } @@ -108,11 +108,11 @@ } > :not(template):not(:first-child) { - padding-left: $size/2 !important; + padding-left: $size !important; } > :not(template):not(:last-child) { - padding-right: $size/2 !important; + padding-right: $size !important; } } } \ No newline at end of file diff --git a/src/scss/ui/forms/_form-check.scss b/src/scss/ui/forms/_form-check.scss index 91c3898e..043e8e28 100644 --- a/src/scss/ui/forms/_form-check.scss +++ b/src/scss/ui/forms/_form-check.scss @@ -54,4 +54,12 @@ Form switch height: $form-switch-height; margin-top: ($form-check-min-height - $form-switch-height) / 2; } +} + +.form-switch-lg { + .form-check-input { + height: 1.5rem; + width: 2.75rem; + background-size: 1.5rem; + } } \ No newline at end of file -- GitLab