mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +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 {
|
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}
|
||||||
>
|
>
|
||||||
|
@ -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