- remove unused components
- cleanup style
This commit is contained in:
cv
2021-06-13 21:35:48 +02:00
parent f8380b2a8c
commit 992f508d5a
8 changed files with 28 additions and 30 deletions
+2 -1
View File
@@ -22,7 +22,7 @@ export default function EditableText(props) {
};
return (
<div className={style.block} {...rest}>
<div className={style.block}>
<span className={style.title}>{label}</span>
<Editable
onChange={(v) => handleChange(v)}
@@ -30,6 +30,7 @@ export default function EditableText(props) {
value={text}
placeholder={placeholder}
className={style.inline}
{...rest}
>
<EditablePreview
color={text === '' ? '#666' : 'inherit'}