From 4937fd00fc9d057e423e44646c57788741179755 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Thu, 8 Jul 2021 15:03:00 +0200 Subject: [PATCH] fix form label display inline (with bootstrap5 theme) --- .../Resources/public/modules/bootstrap/_custom.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss index 2400b23dd..ae7d3d40b 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss @@ -49,9 +49,12 @@ form { } } } - label.required:after { - content: " *"; - color: $red; + label { + display: inline; + &.required:after { + content: " *"; + color: $red; + } } }