mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 19:25:24 +00:00
feat(web): autofocus input
This commit is contained in:
parent
fe106e6b55
commit
d94710c6d0
@ -278,6 +278,7 @@
|
|||||||
bind:value={searchString}
|
bind:value={searchString}
|
||||||
placeholder="Type to search..."
|
placeholder="Type to search..."
|
||||||
on:keydown={handleEnterPress}
|
on:keydown={handleEnterPress}
|
||||||
|
autofocus
|
||||||
/>
|
/>
|
||||||
<div class="mx-auto max-w-screen-lg">
|
<div class="mx-auto max-w-screen-lg">
|
||||||
<div class="flex space-x-2" class:mt-4={!isScrolled} class:ml-4={isScrolled}>
|
<div class="flex space-x-2" class:mt-4={!isScrolled} class:ml-4={isScrolled}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user