Skip to content

Commit

Permalink
fix width of profile select dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
swiknaba committed Jul 3, 2023
1 parent c7618d1 commit f9ac19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ProfilesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Listbox v-model="selectedProfile" @update:model-value="onProfileChange">
<div class="relative mt-1">
<ListboxButton
class="relative w-full cursor-default rounded-lg bg-white py-2 pl-3 pr-10 text-left shadow-md focus:outline-none focus-visible:border-indigo-500 focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-orange-300 sm:text-sm"
class="relative w-64 cursor-default rounded-lg bg-white py-2 pl-3 pr-10 text-left shadow-md focus:outline-none focus-visible:border-indigo-500 focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-orange-300 sm:text-sm"
>
<span class="block truncate text-black">{{ selectedProfile }}</span>
<span
Expand All @@ -21,7 +21,7 @@
leave-to-class="opacity-0"
>
<ListboxOptions
class="absolute mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
class="absolute mt-1 max-h-60 w-full min-w-max overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
>
<ListboxOption
v-slot="{ active, selected }"
Expand Down

0 comments on commit f9ac19e

Please sign in to comment.