app/views/maquina/application/components/checkbox_component.rb in maquina-0.5.2 vs app/views/maquina/application/components/checkbox_component.rb in maquina-0.7.1

- old
+ new

@@ -4,15 +4,15 @@ module Application module Components class CheckboxComponent < ComponentBase def view_template div(**control_html) do - div(class: "flex h-5 items-center") do + div(class: "flex h-6 items-center") do @form.check_box attribute_name, **input_html end - div(class: "text-sm leading-6") do + div(class: "ml-3 text-sm leading-6") do @form.label attribute_name, class: "label #{label_css_class}" - help_template + help_template(margin: false) end end end end end