mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Add styles
This commit is contained in:
parent
7b15559dad
commit
b5fda608e8
@ -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}
|
||||
>
|
||||
|
@ -0,0 +1,9 @@
|
||||
.containerAddon {
|
||||
min-width: 200px;
|
||||
margin-bottom: 1.5rem;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
height: .5rem;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user