Skip to content

Commit d4e4442

Browse files
committed
IMPROVEMENT: Text edition should have a clear exit option (see #371)
1 parent b12577a commit d4e4442

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

frontend/src/components/EditableText.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ function EditableText({id, text, rubric, isPartOf, links, fragment, setFragment,
124124
<textarea className="form-control" type="text" rows="5" autoFocus
125125
value={editedText} onChange={handleChange} onBlur={handleBlur}
126126
/>
127-
<button type="button" onMouseDown={handleBlur}>
127+
<button
128+
type="button"
129+
className="btn btn-success btn-sm mt-1"
130+
onMouseDown={handleBlur}
131+
>
128132
Save
129133
</button>
130134
</form>

0 commit comments

Comments
 (0)