Skip to content

Commit 3c87b08

Browse files
committed
Fix inputGroups update, fix table styles
1 parent 84e2209 commit 3c87b08

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

src/assets/css/common.css

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ header.vff-header svg.f-logo {
590590
}
591591

592592
.vff .fh2 span.f-tagline,
593-
.vff .fh2 span.f-sub{
593+
.vff .fh2 span.f-sub {
594594
font-size: .51em;
595595
}
596596

@@ -751,20 +751,24 @@ header.vff-header svg.f-logo {
751751

752752
.vff .f-matrix-table {
753753
width: 100%;
754-
font-size: .52em;
754+
font-size: .5em;
755755
line-height: normal;
756756
font-weight: normal;
757757
margin-bottom: 0;
758758
}
759759

760+
.vff .f-table-string {
761+
font-size: .875em;
762+
}
763+
760764
.vff .f-table-cell {
761765
padding: .6em .68em;
762-
min-width: 10em;
766+
min-width: 9em;
763767
text-align: left;
764768
}
765769

766770
.vff .f-row-cell {
767-
padding-left: 1.875em;
771+
padding-left: 1.5em;
768772
}
769773

770774
.vff .f-column-cell {
@@ -823,11 +827,21 @@ header.vff-header svg.f-logo {
823827
}
824828

825829
.vff .f-field-control:hover ~ .f-field-mask .f-field-svg,
826-
.vff .f-field-control:checked ~ .f-field-mask .f-field-svg,
827-
.vff .f-field-control:focus ~ .f-field-mask .f-field-svg {
830+
.vff .f-field-control:checked ~ .f-field-mask .f-field-svg {
828831
fill: currentColor;
829832
}
830833

834+
.vff .f-field-control:focus:not(:checked) ~ .f-field-mask .f-field-svg {
835+
outline: 1px solid #000;
836+
outline-offset: 4px;
837+
}
838+
839+
@media (prefers-color-scheme: dark) {
840+
.vff .f-field-control:focus ~ .f-field-mask .f-field-svg {
841+
outline-color: #fff;
842+
}
843+
}
844+
831845
/*
832846
footer
833847
*/

src/components/QuestionTypes/MatrixType.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ export default {
117117
}
118118
},
119119
120+
beforeUpdate() {
121+
this.inputList = []
122+
},
123+
120124
methods: {
121125
onChange($event) {
122126
this.dirty = true

0 commit comments

Comments
 (0)