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

View File

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