From 610e3839aedba675dc1b521af225fb98a9714126 Mon Sep 17 00:00:00 2001 From: Davinder Singh Date: Fri, 27 Sep 2024 15:24:24 +0100 Subject: [PATCH] BS5 Migration to CMS - Adding the new styling for form labels (#20582) * adding styling for form label under bs5 styling * moving label color to website-redesign * adding spacing-02 * fixing a linting error * adding label styling within website-redesign GitOrigin-RevId: bc99c13e5d60dc68c3557db752292faf5eb5a34e --- .../stylesheets/bootstrap-5/components/form.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/form.scss b/services/web/frontend/stylesheets/bootstrap-5/components/form.scss index 6a7a4d584b..1c1a34953d 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/form.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/form.scss @@ -169,3 +169,14 @@ box-shadow: $input-focus-box-shadow; } } + +.website-redesign { + label { + color: $form-text-color; + display: inline-block; + margin-bottom: var(--spacing-02); + font-weight: bold; + + @include body-sm; + } +}