Skip to content

Commit d16d006

Browse files
committed
th-125: * updates auth pages styles
1 parent 01a98a3 commit d16d006

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

frontend/src/libs/components/input/styles.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ $error-message-height: calc($error-font-size * $line-height-coefficient);
8888
top: 8px;
8989
right: 15px;
9090
cursor: pointer;
91+
user-select: none;
9192
}
9293

9394
.inputWrapper {

frontend/src/pages/auth/auth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
import { actions as authActions } from '~/slices/auth/auth.js';
1616

1717
import { SignInForm, SignUpForm } from './components/components.js';
18-
import styles from './styles.module.css';
18+
import styles from './styles.module.scss';
1919

2020
const Auth: React.FC = () => {
2121
const dispatch = useAppDispatch();

frontend/src/pages/auth/styles.module.css

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@import "src/assets/css/vars.scss";
2+
3+
.page {
4+
display: flex;
5+
justify-content: center;
6+
align-items: center;
7+
min-height: 100%;
8+
background-color: $blue-dark;
9+
background-image: url("src/assets/img/auth-page-bg.svg");
10+
background-repeat: no-repeat;
11+
background-position: center;
12+
background-size: cover;
13+
padding-block: 57px;
14+
}

0 commit comments

Comments
 (0)