Skip to content

Commit

Permalink
fix icon shrinkage and selected item alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Sep 20, 2024
1 parent 2a72508 commit 60d0dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/ComboBox/ComboBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<button
v-if="modelValue && !areOptionsOpen"
ref="selectedItemRef"
class="tw-flex tw-bg-transparent tw-border tw-border-neutral-300 tw-w-full tw-py-3 tw-px-4 tw-items-center tw-justify-between tw-rounded-md"
class="tw-flex tw-bg-transparent tw-border tw-border-neutral-300 tw-w-full tw-py-3 tw-px-4 tw-items-center tw-justify-between tw-rounded-md tw-text-left"
@click="handleChangeOption"
>
<div class="tw-flex tw-flex-col tw-items-start">
<div class="tw-flex tw-flex-col tw-items-start tw-flex-1">
<span class="tw-text-sm">{{ modelValue.label }}</span>
<span
v-if="modelValue.secondaryLabel"
Expand Down

0 comments on commit 60d0dbf

Please sign in to comment.