mirror of
https://github.com/immich-app/immich.git
synced 2025-06-23 15:30:51 -04:00
revert: fix(web): wrap long names with textarea (#19305)
Revert "fix(web): wrap long names with textarea (#19301)" This reverts commit 747a72120ebcf79a069d1265a42b341ac89980d4.
This commit is contained in:
parent
10e2ec2841
commit
f9435a538b
@ -370,15 +370,16 @@
|
|||||||
onToggleFavorite={() => handleToggleFavorite(person)}
|
onToggleFavorite={() => handleToggleFavorite(person)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<textarea
|
<input
|
||||||
class="bg-white dark:bg-immich-dark-gray border-gray-100 placeholder-gray-400 text-center dark:border-gray-900 w-full rounded-2xl mt-2 p-2 text-sm text-immich-primary dark:text-immich-dark-primary resize-none field-sizing-content"
|
type="text"
|
||||||
|
class=" bg-white dark:bg-immich-dark-gray border-gray-100 placeholder-gray-400 text-center dark:border-gray-900 w-full rounded-2xl mt-2 py-2 text-sm text-immich-primary dark:text-immich-dark-primary"
|
||||||
value={person.name}
|
value={person.name}
|
||||||
placeholder={$t('add_a_name')}
|
placeholder={$t('add_a_name')}
|
||||||
use:shortcut={{ shortcut: { key: 'Enter' }, onShortcut: (e) => e.currentTarget.blur() }}
|
use:shortcut={{ shortcut: { key: 'Enter' }, onShortcut: (e) => e.currentTarget.blur() }}
|
||||||
onfocusin={() => onNameChangeInputFocus(person)}
|
onfocusin={() => onNameChangeInputFocus(person)}
|
||||||
onfocusout={() => onNameChangeSubmit(newName, person)}
|
onfocusout={() => onNameChangeSubmit(newName, person)}
|
||||||
oninput={(event) => onNameChangeInputUpdate(event)}
|
oninput={(event) => onNameChangeInputUpdate(event)}
|
||||||
></textarea>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
</PeopleInfiniteScroll>
|
</PeopleInfiniteScroll>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user