Web: Components: input-block/password-input: fixed padding for .prepend > div in password-input

This commit is contained in:
Artem Tarasov 2020-11-06 18:05:00 +03:00
parent fdcf5ccf96
commit f7257af395
2 changed files with 4 additions and 2 deletions

View File

@ -127,7 +127,9 @@ class InputBlock extends React.Component {
style={style}
>
<div className="prepend">
<StyledChildrenBlock>{children}</StyledChildrenBlock>
<StyledChildrenBlock className="prepend-children">
{children}
</StyledChildrenBlock>
</div>
<TextInput
id={id}

View File

@ -34,7 +34,7 @@ const StyledInput = styled(SimpleInput)`
padding-right: 8px;
}
.prepend > div {
.prepend-children {
padding: 0;
}