refactor: adds css variable

This commit is contained in:
2024-11-24 22:40:18 -03:00
parent 2f48687f3c
commit 348d04e1e9
4 changed files with 9 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
.login {
max-width: 480px;
max-width: var(--main-content-max-width, 480px);
}
.register__form-button {
width: 100%;

View File

@@ -1,5 +1,5 @@
.register {
max-width: 480px;
max-width: var(--main-content-max-width, 480px);
}
.register__form-button {

View File

@@ -1,3 +1,7 @@
:root {
--main-content-max-width: 480px;
}
html, body {
height: 100%;
}

3
app/static/css/user.css Normal file
View File

@@ -0,0 +1,3 @@
.user {
max-width: var(--main-content-max-width, 480px);
}