Show textarea even if description is blank
Now you can add description to a list that doesn't have one yet!
This commit is contained in:
parent
d91492ab66
commit
4903eb8d21
1 changed files with 2 additions and 1 deletions
|
@ -329,12 +329,13 @@ export function ClosetList({
|
|||
</Wrap>
|
||||
)}
|
||||
<Box height="2" />
|
||||
{closetList.description && (
|
||||
{(closetList.description || isEditing) && (
|
||||
<Box marginBottom="2">
|
||||
{isEditing ? (
|
||||
<Textarea
|
||||
value={editableDescription}
|
||||
onChange={(e) => setEditableDescription(e.target.value)}
|
||||
placeholder="This is my list! I'm looking for…"
|
||||
// Shift left by our own padding/border, for alignment with the
|
||||
// original title
|
||||
paddingX="0.75rem"
|
||||
|
|
Loading…
Reference in a new issue