Skip to content

Commit 7a77568

Browse files
committed
Fixed link styles, imported component to quiz
1 parent 8687588 commit 7a77568

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

examples/quiz/Example.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
6969
// Import necessary components and classes
7070
import FlowForm from '../../src/components/FlowForm.vue'
71-
import QuestionModel, { QuestionType, ChoiceOption} from '../../src/models/QuestionModel'
71+
import QuestionModel, { QuestionType, ChoiceOption, LinkOption } from '../../src/models/QuestionModel'
7272
import LanguageModel from '../../src/models/LanguageModel'
7373
// If using the npm package, use the following line instead of the ones above.
7474
// import FlowForm, { QuestionModel, QuestionType, ChoiceOption, LanguageModel } from '@ditdot-dev/vue-flow-form'

src/assets/css/common.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,8 @@ span.f-answered{
327327
}
328328

329329
/*links*/
330-
331330
a.f-link,
332331
.field-submittype .section-wrap a {
333-
margin-right: 10px;
334332
color: inherit;
335333
border-bottom: 1px dotted;
336334
word-break: break-word;
@@ -435,15 +433,19 @@ span.f-text {
435433
margin-right: .6rem;
436434
}
437435

436+
/*description*/
438437
p.description {
439438
margin-top: 0;
440439
padding-right: 4rem;
441440
}
442441

443-
p.description span {
444-
margin-right: 10px;
442+
p.description span,
443+
p.description a.f-link {
444+
margin-right: 8px;
445445
}
446446

447+
448+
447449
/*f-radios (multiple-choice)*/
448450
ul.f-radios {
449451
margin: 0;

0 commit comments

Comments
 (0)