Support multi-paragraph host bios on detail page; v2.0.23
Publish Container / docker (push) Successful in 13m57s
Publish Container / docker (push) Successful in 13m57s
Split bio on blank lines to render each paragraph as its own <p> tag. Also grows the admin textarea from 3 to 8 rows so long bios are easier to write and review. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
7ff5c453e8
commit
b999a2fe86
3 files changed
+5
-3
No files matched your search
+1
-1
@@ -5091,7 +5091,7 @@ async function handleAssetUpload(event: ChangeEvent<HTMLInputElement>) {
|
||||
</div>
|
||||
<div className="admin-field">
|
||||
<label>Bio</label>
|
||||
<textarea rows={3} value={host.bio} onChange={e => updateHost(host.id, { bio: e.target.value })} />
|
||||
<textarea rows={8} value={host.bio} onChange={e => updateHost(host.id, { bio: e.target.value })} />
|
||||
</div>
|
||||
<div className="admin-field">
|
||||
<label>Photo</label>
|
||||
|
||||
Reference in new issue
Block a user