Skip to content

Commit c1e5cbf

Browse files
committed
Fix MultiplePictureChoice layout
1 parent 2efad50 commit c1e5cbf

File tree

10 files changed

+13
-15
lines changed

10 files changed

+13
-15
lines changed

examples/questionnaire/Example.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,30 +106,30 @@
106106
new QuestionModel({
107107
id: 'multiple_choice_image',
108108
tagline: "Let's take it one step further",
109-
title: 'Tell us about your favorite social network 😍',
109+
title: 'Tell us what is your favorite social network 😍',
110110
helpTextShow: false,
111111
type: QuestionType.MultiplePictureChoice,
112112
multiple: false,
113113
required: true,
114114
options: [
115115
new ChoiceOption({
116-
imageSrc: require('../../src/assets/images/facebook.png'),
117-
imageAlt: 'facebook logo',
116+
imageSrc: require('./assets/images/facebook.png'),
117+
imageAlt: 'Facebook logo',
118118
label: 'Facebook'
119119
}),
120120
new ChoiceOption({
121-
imageSrc: require('../../src/assets/images/twitter.png'),
122-
imageAlt: 'twitter logo',
121+
imageSrc: require('./assets/images/twitter.png'),
122+
imageAlt: 'Twitter logo',
123123
label: 'Twitter'
124124
}),
125125
new ChoiceOption({
126-
imageSrc: require('../../src/assets/images/instagram.png'),
127-
imageAlt: 'instagram logo',
126+
imageSrc: require('./assets/images/instagram.png'),
127+
imageAlt: 'Instagram logo',
128128
label: 'Instagram'
129129
}),
130130
new ChoiceOption({
131-
imageSrc: require('../../src/assets/images/tiktok.png'),
132-
imageAlt: 'tiktok logo',
131+
imageSrc: require('./assets/images/tiktok.png'),
132+
imageAlt: 'TikTok logo',
133133
label: 'TikTok'
134134
}),
135135
]
14.3 KB
Loading
18 KB
Loading
11.6 KB
Loading
13.3 KB
Loading

src/assets/css/common.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ header.vff-header svg.f-logo {
634634
*/
635635

636636
.vff .field-multiplepicturechoice ul.f-radios{
637-
max-width: 800px;
637+
max-width: 790px;
638638
min-width: auto;
639639
display: -ms-flexbox;
640640
display: flex;
@@ -671,7 +671,7 @@ header.vff-header svg.f-logo {
671671
justify-content: center;
672672
overflow: hidden;
673673
width: 100%;
674-
height: 164px;
674+
height: 150px;
675675
margin-bottom: 8px;
676676
}
677677

@@ -944,8 +944,6 @@ header.vff-header svg.f-logo {
944944

945945
.vff .field-multiplepicturechoice ul.f-radios li{
946946
font-size: 14px;
947-
-ms-flex: 0 0 calc(33.3333% - 8px);
948-
flex: 0 0 calc(33.3333% - 8px);
949947
}
950948

951949
}
@@ -1021,8 +1019,8 @@ header.vff-header svg.f-logo {
10211019
font-size: 16px;
10221020
}
10231021

1024-
.vff .field-multiplepicturechoice ul.f-radios li span.f-image{
1025-
height: 130px;
1022+
.vff .field-multiplepicturechoice ul.f-radios {
1023+
max-width: 360px;
10261024
}
10271025

10281026
.vff .field-multiplepicturechoice ul.f-radios li{

src/assets/images/facebook.png

-81.2 KB
Binary file not shown.

src/assets/images/instagram.png

-147 KB
Binary file not shown.

src/assets/images/tiktok.png

-52.6 KB
Binary file not shown.

src/assets/images/twitter.png

-76 KB
Binary file not shown.

0 commit comments

Comments
 (0)