diff --git a/app/javascript/gabsocial/features/groups/create/index.js b/app/javascript/gabsocial/features/groups/create/index.js index 653516ec..b99553ef 100644 --- a/app/javascript/gabsocial/features/groups/create/index.js +++ b/app/javascript/gabsocial/features/groups/create/index.js @@ -82,7 +82,6 @@ class Create extends React.PureComponent { placeholder={intl.formatMessage(messages.title)} /> -
-
- - - +
); diff --git a/app/javascript/styles/application.scss b/app/javascript/styles/application.scss index 9931e084..1a2d38f7 100644 --- a/app/javascript/styles/application.scss +++ b/app/javascript/styles/application.scss @@ -18,6 +18,7 @@ @import 'gabsocial/components'; // COMPONENTS +@import 'gabsocial/components/buttons'; @import 'gabsocial/components/tabs-bar'; @import 'gabsocial/components/dropdown-menu'; @import 'gabsocial/components/modal'; diff --git a/app/javascript/styles/gabsocial/components/buttons.scss b/app/javascript/styles/gabsocial/components/buttons.scss new file mode 100644 index 00000000..1d2baf71 --- /dev/null +++ b/app/javascript/styles/gabsocial/components/buttons.scss @@ -0,0 +1,19 @@ +button { + &.standard { + &-small { + background: $gab-blue; + color: white; + text-transform: uppercase; + letter-spacing: 1px; + font-size: 14px; + border: none; + border-radius: 4px; + height: 25px; + padding: 1px 12px; + font-weight: bold; + } + } +} + + + diff --git a/app/javascript/styles/gabsocial/components/group-form.scss b/app/javascript/styles/gabsocial/components/group-form.scss index 948155b7..4acab18d 100644 --- a/app/javascript/styles/gabsocial/components/group-form.scss +++ b/app/javascript/styles/gabsocial/components/group-form.scss @@ -49,18 +49,5 @@ position: absolute; pointer-events: none; } - - button { - background: $gab-blue; - color: white; - text-transform: uppercase; - letter-spacing: 1px; - font-size: 14px; - border: none; - border-radius: 4px; - height: 25px; - padding: 1px 12px; - font-weight: bold; - float: right; - } + button {float: right;} } \ No newline at end of file