diff --git a/apps/web/components/Form.module.scss b/apps/web/components/Form.module.scss index e26d4bb..2b86c4b 100644 --- a/apps/web/components/Form.module.scss +++ b/apps/web/components/Form.module.scss @@ -7,3 +7,20 @@ margin: 7px 0; } } + +.button-submit { + background-color: var(--color-primary); + font-family: Montserrat; + border: 0; + color: #fff; + cursor: pointer; + font-size: 14px; + font-weight: bold; + line-height: 2; + outline: 0; + padding: 0.55rem 0.75rem; + text-align: center; + text-transform: uppercase; + vertical-align: middle; + width: 100%; +} diff --git a/apps/web/components/Form.tsx b/apps/web/components/Form.tsx index e4092ae..4cfb838 100644 --- a/apps/web/components/Form.tsx +++ b/apps/web/components/Form.tsx @@ -50,7 +50,9 @@ function LoginForm({ onLogin }: LoginFormProps) { {...register('password', { required: true })} /> {hasError ? Неверный логин или пароль : null} - + ); } diff --git a/apps/web/styles/button.css b/apps/web/styles/button.css deleted file mode 100644 index 37fcaa6..0000000 --- a/apps/web/styles/button.css +++ /dev/null @@ -1,16 +0,0 @@ -button { - background-color: var(--color-primary); - font-family: Montserrat; - border: 0; - color: #fff; - cursor: pointer; - font-size: 14px; - font-weight: bold; - line-height: 2; - outline: 0; - padding: 0.55rem 0.75rem; - text-align: center; - text-transform: uppercase; - vertical-align: middle; - width: 100%; -} diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css index 0dba46a..a9905f2 100644 --- a/apps/web/styles/globals.css +++ b/apps/web/styles/globals.css @@ -1,5 +1,4 @@ @import 'node_modules/modern-normalize/modern-normalize.css'; -@import './button.css'; @import './input.css'; @import './h.css'; @import './error.css';