From: Nick Downing Date: Wed, 12 Jan 2022 16:01:56 +0000 (+1100) Subject: Make sign up form styling more similar to how Bootstrap 3 used to be X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?p=ndcode_site.git;a=commitdiff_plain;h=6a21f555c0d2a5cf8da9b15941019cfd277ee0f5 Make sign up form styling more similar to how Bootstrap 3 used to be --- diff --git a/css/bootstrap/_custom-forms.scss b/css/bootstrap/_custom-forms.scss index b3db8c4..c1b99a2 100644 --- a/css/bootstrap/_custom-forms.scss +++ b/css/bootstrap/_custom-forms.scss @@ -74,6 +74,7 @@ // Build the custom controls out of pseudo-elements. .custom-control-label { + font-weight: $label-font-weight; // Nick position: relative; margin-bottom: 0; color: $custom-control-label-color; diff --git a/css/bootstrap/_forms.scss b/css/bootstrap/_forms.scss index cde4663..a23625c 100644 --- a/css/bootstrap/_forms.scss +++ b/css/bootstrap/_forms.scss @@ -92,6 +92,11 @@ select.form-control { // Labels // +// Nick +.form-label { + font-weight: $label-font-weight; +} + // For use with horizontal and inline forms, when you need the label (or legend) // text to align with the form controls. .col-form-label { @@ -233,6 +238,7 @@ textarea.form-control { } .form-check-label { + font-weight: $label-font-weight; // Nick margin-bottom: 0; // Override default `