commit: fb55c98483950bf02758ca1ec21e3e428fe35751
parent e7c64e47c4870b19d41ec4f7a500d312c06df853
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 29 Feb 2024 19:06:50 +0200
fix polls options
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/App.scss b/src/App.scss
@@ -488,7 +488,8 @@ textarea {
.input {
&.unstyled {
border-radius: 0;
- background: none;
+ /* stylelint-disable-next-line declaration-no-important */
+ background: none !important;
box-shadow: none;
height: unset;
}
@@ -528,6 +529,7 @@ textarea {
&:checked + label::before {
box-shadow: var(--shadow);
background-color: var(--background);
+ color: var(--text);
}
&:disabled {
@@ -541,7 +543,7 @@ textarea {
+ label::before {
flex-shrink: 0;
display: inline-block;
- content: "";
+ content: "•";
transition: box-shadow 200ms;
width: 1.1em;
height: 1.1em;
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue
@@ -38,6 +38,7 @@
:aria-labelledby="`option-vote-${randomSeed}-${index}`"
:aria-checked="choices[index]"
@click="activateOption(index)"
+ class="input unstyled"
>
<!-- TODO: USE CHECKBOX -->
<input