Fix inconsistent spacing in add form when toggling input type

This commit is contained in:
Test User 2026-03-30 23:03:00 +00:00
parent ea8f256882
commit fb4d4dbaec

View file

@ -364,7 +364,7 @@ def handle_add_form(msg="", action_type="index"):
f'<br><br>' f'<br><br>'
f'<input name="url" id="url_input" placeholder="https://example.com" size="50"><br>' f'<input name="url" id="url_input" placeholder="https://example.com" size="50"><br>'
f'<input name="reticulum_dest" id="hash_input" placeholder="reticulum destination hash (32 hex chars)" size="50" style="display:none"><br>' f'<input name="reticulum_dest" id="hash_input" placeholder="reticulum destination hash (32 hex chars)" size="50" style="display:none"><br>'
f'<input name="note" placeholder="why are you saving this? (optional)" size="50"><br><br>' f'<input name="note" placeholder="why are you saving this? (optional)" size="50"><br>'
f'<input name="tags" placeholder="tags (comma-separated, e.g. solarpunk, mesh)" size="50"><br><br>' f'<input name="tags" placeholder="tags (comma-separated, e.g. solarpunk, mesh)" size="50"><br><br>'
f'<button type="submit">index</button>' f'<button type="submit">index</button>'
f"</form>" f"</form>"