mirror of
https://github.com/IgnatZakalinsky/home-works.git
synced 2025-12-18 04:39:24 +00:00
hw6
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
padding: 8px 0 8px 12px;
|
padding: 8px 0 8px 12px;
|
||||||
color: #000;
|
color: #000;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
height: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputWrapper {
|
.inputWrapper {
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 28px;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@@ -11,3 +10,8 @@
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: #0080FF;
|
color: #0080FF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
width: 276px;
|
||||||
|
}
|
||||||
@@ -68,6 +68,7 @@ const SuperEditableSpan: React.FC<SuperEditableSpanType> = ({
|
|||||||
autoFocus={autoFocus || true}
|
autoFocus={autoFocus || true}
|
||||||
onBlur={onBlurCallback}
|
onBlur={onBlurCallback}
|
||||||
onEnter={onEnterCallback}
|
onEnter={onEnterCallback}
|
||||||
|
className={s.input}
|
||||||
{...restProps} // отдаём инпуту остальные пропсы если они есть (value например там внутри)
|
{...restProps} // отдаём инпуту остальные пропсы если они есть (value например там внутри)
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user