Skip to content

Commit 31d2131

Browse files
committed
Fix empty labels on MultipleChoiceTypes
1 parent 7f4fd69 commit 31d2131

File tree

1 file changed

+30
-31
lines changed

1 file changed

+30
-31
lines changed

src/assets/css/common.css

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,27 @@ header.vff-header + .vff.vff-not-standalone{
168168
box-sizing: inherit;
169169
}
170170

171+
.vff .q-is-active {
172+
opacity: 1;
173+
}
174+
175+
.vff .q-form.q-is-inactive {
176+
display: none;
177+
}
178+
179+
.vff .f-full-width {
180+
display: block;
181+
width: 100%;
182+
}
183+
184+
.vff .f-string-em {
185+
text-transform: uppercase;
186+
}
187+
188+
.vff .f-enter {
189+
margin-bottom: 20px;
190+
}
191+
171192
/*container*/
172193
.vff .f-container,
173194
header.vff-header .f-container{
@@ -206,28 +227,6 @@ header.vff-header svg.f-logo {
206227
opacity: 1;
207228
}
208229

209-
/**/
210-
.vff .q-is-active {
211-
opacity: 1;
212-
}
213-
214-
.vff .q-form.q-is-inactive {
215-
display: none;
216-
}
217-
218-
.vff .f-full-width {
219-
display: block;
220-
width: 100%;
221-
}
222-
223-
.vff .f-string-em {
224-
text-transform: uppercase;
225-
}
226-
227-
.vff .f-enter {
228-
margin-bottom: 20px;
229-
}
230-
231230
/*
232231
form elements
233232
*/
@@ -620,13 +619,19 @@ header.vff-header svg.f-logo {
620619
font-size: .4em;
621620
}
622621

622+
.vff ul.f-radios li div.f-label-wrap{
623+
display: -ms-flexbox;
624+
display: flex;
625+
width: 100%;
626+
}
627+
623628
.vff ul.f-radios li span.f-label {
624-
display: block;
625-
margin-left: 1.1em;
629+
margin-left: .4em;
626630
}
627631

628632
.vff ul.f-radios li span.f-key {
629-
position: absolute;
633+
width: 16px;
634+
text-align: center;
630635
}
631636

632637
/*
@@ -681,12 +686,6 @@ header.vff-header svg.f-logo {
681686
max-width: 100%;
682687
}
683688

684-
.vff .field-multiplepicturechoice ul.f-radios li div.f-label-wrap{
685-
width: 100%;
686-
position: relative;
687-
min-height: 20px;
688-
}
689-
690689
/*
691690
footer
692691
*/

0 commit comments

Comments
 (0)