From b5fda608e84906ecd0164429cb25eb2e4a207316 Mon Sep 17 00:00:00 2001 From: cyril lopez Date: Tue, 6 Feb 2018 16:06:13 +0100 Subject: [PATCH] Add styles --- .../lib/src/components/InputAddonWithErrors/index.js | 8 +++++--- .../lib/src/components/InputAddonWithErrors/styles.scss | 9 +++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/index.js b/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/index.js index 258486708c..59ab395f20 100644 --- a/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/index.js +++ b/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/index.js @@ -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 (
diff --git a/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/styles.scss b/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/styles.scss index e69de29bb2..0853bdc84d 100644 --- a/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/styles.scss +++ b/packages/strapi-helper-plugin/lib/src/components/InputAddonWithErrors/styles.scss @@ -0,0 +1,9 @@ +.containerAddon { + min-width: 200px; + margin-bottom: 1.5rem; + font-size: 1.3rem; +} + +.spacer { + height: .5rem; +}