From 40d9418c3255138d0ccb60bcca67bb14cb57b247 Mon Sep 17 00:00:00 2001 From: Jarek Ostrowski Date: Wed, 29 May 2019 15:46:53 -0400 Subject: Give all labels bold weight Form check labels get normal weight Add changelog --- app/assets/stylesheets/framework/forms.scss | 6 ++++++ changelogs/unreleased/62485-label-weights.yml | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 changelogs/unreleased/62485-label-weights.yml diff --git a/app/assets/stylesheets/framework/forms.scss b/app/assets/stylesheets/framework/forms.scss index 4a9c73a1bc9..33930871cdc 100644 --- a/app/assets/stylesheets/framework/forms.scss +++ b/app/assets/stylesheets/framework/forms.scss @@ -27,10 +27,16 @@ input[type='text'].danger { } label { + font-weight: $gl-font-weight-bold; + &.inline-label { margin: 0; } + &.form-check-label { + font-weight: $gl-font-weight-normal; + } + &.label-bold { font-weight: $gl-font-weight-bold; } diff --git a/changelogs/unreleased/62485-label-weights.yml b/changelogs/unreleased/62485-label-weights.yml new file mode 100644 index 00000000000..354b18be11e --- /dev/null +++ b/changelogs/unreleased/62485-label-weights.yml @@ -0,0 +1,5 @@ +--- +title: Give labels consistent weight +merge_request: 28895 +author: +type: fixed -- cgit v1.2.1