From 01ab59c2ed8574ad84e177a64fbcefb3340985e3 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Wed, 21 Feb 2024 17:59:13 +0100 Subject: [PATCH] style(form): position correctly the mandatory star on checkbox when text is on multiple lines --- .../checkbox_component/checkbox_component.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/editable_champ/checkbox_component/checkbox_component.html.haml b/app/components/editable_champ/checkbox_component/checkbox_component.html.haml index ffead5a43..998e25d8a 100644 --- a/app/components/editable_champ/checkbox_component/checkbox_component.html.haml +++ b/app/components/editable_champ/checkbox_component/checkbox_component.html.haml @@ -5,4 +5,5 @@ 'true', 'false' %label.fr-label{ for: @champ.input_id, id: @champ.labelledby_id } - = render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at + %span + = render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at