Add description field

This commit is contained in:
June 2025-08-17 11:40:23 +12:00
parent bf5d2f24c2
commit 691409318d
Signed by: breadone
GPG Key ID: FDC19FE143200483

View File

@ -34,6 +34,13 @@ async function submitRecipe() {
placeholder="Name" placeholder="Name"
class="text-[28pt] font-bold p-1 leading-none mt-2 bg-white/10 rounded-lg resize-none overflow-hidden" class="text-[28pt] font-bold p-1 leading-none mt-2 bg-white/10 rounded-lg resize-none overflow-hidden"
oninput="this.style.height = ''; this.style.height = this.scrollHeight + 'px'" oninput="this.style.height = ''; this.style.height = this.scrollHeight + 'px'"
/>
<textarea
id="rec-desc"
rows="4"
placeholder="Description"
class="text-sm italic p-1 leading-none mt-2 bg-white/10 rounded-lg resize-none overflow-hidden"
oninput="this.style.height = ''; this.style.height = this.scrollHeight + 'px'"
/> />
<!-- if it works :3 --> <!-- if it works :3 -->