fix polls options

This commit is contained in:
Henry Jameson 2024-02-29 19:06:50 +02:00
parent e7c64e47c4
commit fb55c98483
2 changed files with 5 additions and 2 deletions

View File

@ -488,7 +488,8 @@ textarea {
.input { .input {
&.unstyled { &.unstyled {
border-radius: 0; border-radius: 0;
background: none; /* stylelint-disable-next-line declaration-no-important */
background: none !important;
box-shadow: none; box-shadow: none;
height: unset; height: unset;
} }
@ -528,6 +529,7 @@ textarea {
&:checked + label::before { &:checked + label::before {
box-shadow: var(--shadow); box-shadow: var(--shadow);
background-color: var(--background); background-color: var(--background);
color: var(--text);
} }
&:disabled { &:disabled {
@ -541,7 +543,7 @@ textarea {
+ label::before { + label::before {
flex-shrink: 0; flex-shrink: 0;
display: inline-block; display: inline-block;
content: ""; content: "";
transition: box-shadow 200ms; transition: box-shadow 200ms;
width: 1.1em; width: 1.1em;
height: 1.1em; height: 1.1em;

View File

@ -38,6 +38,7 @@
:aria-labelledby="`option-vote-${randomSeed}-${index}`" :aria-labelledby="`option-vote-${randomSeed}-${index}`"
:aria-checked="choices[index]" :aria-checked="choices[index]"
@click="activateOption(index)" @click="activateOption(index)"
class="input unstyled"
> >
<!-- TODO: USE CHECKBOX --> <!-- TODO: USE CHECKBOX -->
<input <input