Skip to content

Commit

Permalink
refactored the room search icon to not randomly float in the middle o…
Browse files Browse the repository at this point in the history
…f the page
  • Loading branch information
CommanderStorm committed Apr 27, 2024
1 parent cb515a6 commit b70034f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions webclient/components/DetailsRoomOverviewSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,8 @@ const { list, containerProps, wrapperProps } = useVirtualList<ChildEntry>(filter
</ListboxOptions>
</Transition>
</Listbox>
<div class="border-zinc-400 z-0 flex w-full shrink border">
<span class="absolute inset-y-0 left-0 flex items-center pl-2">
<MagnifyingGlassIcon class="text-zinc-600 h-4 w-4" aria-hidden="true" />
</span>
<div class="bg-zinc-200 border-zinc-400 z-0 flex w-full shrink items-center border">
<MagnifyingGlassIcon class="text-zinc-600 h-4 w-6 pl-2" aria-hidden="true" />
<textarea
id="search-input"
v-model="search"
Expand All @@ -145,7 +143,7 @@ const { list, containerProps, wrapperProps } = useVirtualList<ChildEntry>(filter
spellcheck="false"
maxlength="2048"
type="text"
class="focusable text-zinc-800 bg-zinc-200 w-full flex-grow resize-none rounded-sm py-2 ps-8 font-semibold placeholder:text-zinc-800 focus-within:placeholder:text-zinc-500 placeholder:font-normal"
class="focusable text-zinc-800 bg-zinc-200 w-full flex-grow resize-none rounded-sm py-2 ps-6 font-semibold placeholder:text-zinc-800 focus-within:placeholder:text-zinc-500 placeholder:font-normal"
:placeholder="t('search')"
/>
</div>
Expand Down

0 comments on commit b70034f

Please sign in to comment.