Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed Feb 11, 2025
1 parent 98a1492 commit 7680b00
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions collect/src/components/form/NumberItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,39 @@
<div v-if="hint" class="text-h6 q-mb-md">{{ hint }}</div>
<div class="row justify-center q-mt-xl">
<q-btn
flat
v-if="props.step2"
rounded
@click="decrement2"
:disable="props.modelValue === props.min"
color="primary"
color="accent"
icon="keyboard_double_arrow_left"
class="q-mr-md"
/>
<q-btn
flat
rounded
@click="decrement"
:disable="props.modelValue === props.min"
color="primary"
color="accent"
:icon="step2 ? 'keyboard_arrow_left' : 'remove'"
/>
<span class="text-h4 q-ml-lg q-mr-lg">{{ props.modelValue }} {{ props.unit }}</span>
<q-btn
flat
rounded
@click="increment"
:disable="props.modelValue === props.max"
color="primary"
color="accent"
:icon="step2 ? 'keyboard_arrow_right' : 'add'"
/>
<q-btn
flat
v-if="props.step2"
rounded
@click="increment2"
:disable="props.modelValue === props.max"
color="primary"
color="accent"
icon="keyboard_double_arrow_right"
class="q-ml-md"
/>
Expand Down

0 comments on commit 7680b00

Please # to comment.