Add styles

This commit is contained in:
cyril lopez 2018-02-06 16:06:13 +01:00
parent 7b15559dad
commit b5fda608e8
2 changed files with 14 additions and 3 deletions

View File

@ -59,6 +59,8 @@ class InputAddonWithErrors extends React.Component { // eslint-disable-line reac
const {
addon,
autoFocus,
className,
customBootstrapClass,
deactivateErrorHighlight,
disabled,
errorsClassName,
@ -91,9 +93,9 @@ class InputAddonWithErrors extends React.Component { // eslint-disable-line reac
return (
<div className={cn(
styles.container,
this.props.customBootstrapClass,
!isEmpty(this.props.className) && this.props.className,
styles.containerAddon,
customBootstrapClass,
!isEmpty(className) && className,
)}
style={style}
>

View File

@ -0,0 +1,9 @@
.containerAddon {
min-width: 200px;
margin-bottom: 1.5rem;
font-size: 1.3rem;
}
.spacer {
height: .5rem;
}