Add intro to survey

This commit is contained in:
Arkadiusz Wieczorek 2022-07-06 20:01:14 +02:00
parent 336d28c44d
commit 592122a7da
3 changed files with 11 additions and 3 deletions

View File

@ -23,9 +23,6 @@ h1 {
&__header { &__header {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
&--control {
}
} }
&__content { &__content {

View File

@ -164,6 +164,16 @@ export default function generateSurveyQuestions(hosts: string[]) {
locale: 'pl', locale: 'pl',
clearInvisibleValues: 'onHidden', clearInvisibleValues: 'onHidden',
pages: [ pages: [
{
title: 'Tytuł - co to za ankieta?',
elements: [
{
type: 'html',
name: 'intro',
html: '<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab, odit dicta at aut esse culpa eveniet iure odio voluptates veniam sit. Libero explicabo, perspiciatis ad expedita officiis inventore impedit ducimus!</p>',
},
],
},
{ {
title: 'Zaimki', title: 'Zaimki',
elements: [ elements: [

View File

@ -269,6 +269,7 @@ h1 {
border: 1px solid #000; border: 1px solid #000;
} }
.sv_q_title,
.sv_main .sv_container .sv_body .sv_p_root .sv_q_title { .sv_main .sv_container .sv_body .sv_p_root .sv_q_title {
font-weight: 600; font-weight: 600;
font-size: calc(14 / 16 * 1rem); font-size: calc(14 / 16 * 1rem);