diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-07 15:53:49 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-07 15:53:49 +0200 |
| commit | d2a74ea1a2965eb38609bb8029a41b45beab89ce (patch) | |
| tree | 47881b435bc3f2c83d031ee5ca34492bd19551a7 /src/components/poll | |
| parent | c34590c43983711152a843a2e36b991a5fe3bcdf (diff) | |
add .input class to all inputs
Diffstat (limited to 'src/components/poll')
| -rw-r--r-- | src/components/poll/poll.vue | 4 | ||||
| -rw-r--r-- | src/components/poll/poll_form.vue | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue index b3a74c49..1d01f941 100644 --- a/src/components/poll/poll.vue +++ b/src/components/poll/poll.vue @@ -39,10 +39,11 @@ :aria-checked="choices[index]" @click="activateOption(index)" > + <!-- TODO: USE CHECKBOX --> <input v-if="poll.multiple" type="checkbox" - class="poll-checkbox" + class="input poll-checkbox" :disabled="loading" :value="index" > @@ -51,6 +52,7 @@ type="radio" :disabled="loading" :value="index" + class="input" > <label class="option-vote"> <RichContent diff --git a/src/components/poll/poll_form.vue b/src/components/poll/poll_form.vue index 09d411ca..d79bf9cf 100644 --- a/src/components/poll/poll_form.vue +++ b/src/components/poll/poll_form.vue @@ -13,7 +13,7 @@ :id="`poll-${index}`" v-model="options[index]" size="1" - class="poll-option-input" + class="input poll-option-input" type="text" :placeholder="$t('polls.option')" :maxlength="maxLength" @@ -67,7 +67,7 @@ <input v-model="expiryAmount" type="number" - class="expiry-amount hide-number-spinner" + class="input expiry-amount hide-number-spinner" :min="minExpirationInCurrentUnit" :max="maxExpirationInCurrentUnit" @change="expiryAmountChange" |
