mirror of
https://github.com/IgnatZakalinsky/home-works.git
synced 2025-12-16 20:39:24 +00:00
hw6
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
padding: 8px 0 8px 12px;
|
||||
color: #000;
|
||||
outline: none;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.inputWrapper {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -68,6 +68,7 @@ const SuperEditableSpan: React.FC<SuperEditableSpanType> = ({
|
||||
autoFocus={autoFocus || true}
|
||||
onBlur={onBlurCallback}
|
||||
onEnter={onEnterCallback}
|
||||
className={s.input}
|
||||
{...restProps} // отдаём инпуту остальные пропсы если они есть (value например там внутри)
|
||||
/>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user