mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
[style] add an extra space around choices expanded widget
This commit is contained in:
@@ -34,6 +34,8 @@ label {
|
||||
|
||||
.inline-choice {
|
||||
white-space:nowrap;
|
||||
display: inline-block;
|
||||
|
||||
label {
|
||||
white-space:normal;
|
||||
display: inline;
|
||||
@@ -43,6 +45,11 @@ label {
|
||||
}
|
||||
}
|
||||
|
||||
div.choice-widget-expanded {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
textarea,
|
||||
//input,
|
||||
#{$all-text-inputs},
|
||||
|
@@ -52,7 +52,7 @@
|
||||
|
||||
{% block choice_widget_expanded %}
|
||||
{% spaceless %}
|
||||
<div {{ block('widget_container_attributes') }}>
|
||||
<div {{ block('widget_container_attributes') }} class="choice-widget-expanded">
|
||||
{% for child in form %}
|
||||
<span class="inline-choice">
|
||||
{{ form_widget(child) }}
|
||||
|
Reference in New Issue
Block a user