Skip to content

Commit f9435a5

Browse files
authored
revert: fix(web): wrap long names with textarea (#19305)
Revert "fix(web): wrap long names with textarea (#19301)" This reverts commit 747a721.
1 parent 10e2ec2 commit f9435a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

web/src/routes/(user)/people/+page.svelte

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,15 +370,16 @@
370370
onToggleFavorite={() => handleToggleFavorite(person)}
371371
/>
372372

373-
<textarea
374-
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"
373+
<input
374+
type="text"
375+
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"
375376
value={person.name}
376377
placeholder={$t('add_a_name')}
377378
use:shortcut={{ shortcut: { key: 'Enter' }, onShortcut: (e) => e.currentTarget.blur() }}
378379
onfocusin={() => onNameChangeInputFocus(person)}
379380
onfocusout={() => onNameChangeSubmit(newName, person)}
380381
oninput={(event) => onNameChangeInputUpdate(event)}
381-
></textarea>
382+
/>
382383
</div>
383384
{/snippet}
384385
</PeopleInfiniteScroll>

0 commit comments

Comments
 (0)