name field expands when overflow

This commit is contained in:
June 2025-08-14 11:31:09 +12:00
parent 97cc5da5b8
commit 7c87342dea
Signed by: breadone
GPG Key ID: FDC19FE143200483

View File

@ -30,9 +30,10 @@ const { recipeid } = Astro.params;
name="name" name="name"
rows="1" rows="1"
placeholder="Name" placeholder="Name"
class="text-[28pt] font-bold h-12 p-1 leading-none mt-2 bg-white/20 rounded-lg" class="text-[28pt] font-bold p-1 leading-none mt-2 bg-white/20 rounded-lg resize-none overflow-hidden"
style="resize: none;" oninput="this.style.height = ''; this.style.height = this.scrollHeight + 'px'"
/> />
<!-- if it works :3 -->
<!-- Details --> <!-- Details -->
<!-- <InfoView re={re} /> --> <!-- <InfoView re={re} /> -->