This commit is contained in:
2022-07-12 11:18:31 +02:00
parent 0d92db94b7
commit d373a20bb1
3 changed files with 8 additions and 2 deletions

View File

@@ -18,6 +18,7 @@
padding: 8px 0 8px 12px;
color: #000;
outline: none;
height: 36px;
}
.inputWrapper {

View File

@@ -2,8 +2,7 @@
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 24px;
margin-bottom: 28px;
cursor: pointer;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
@@ -11,3 +10,8 @@
line-height: 20px;
color: #0080FF;
}
.input {
margin-bottom: 16px;
width: 276px;
}

View File

@@ -68,6 +68,7 @@ const SuperEditableSpan: React.FC<SuperEditableSpanType> = ({
autoFocus={autoFocus || true}
onBlur={onBlurCallback}
onEnter={onEnterCallback}
className={s.input}
{...restProps} // отдаём инпуту остальные пропсы если они есть (value например там внутри)
/>
) : (