refactor: adds css variable
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
.login {
|
.login {
|
||||||
max-width: 480px;
|
max-width: var(--main-content-max-width, 480px);
|
||||||
}
|
}
|
||||||
.register__form-button {
|
.register__form-button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.register {
|
.register {
|
||||||
max-width: 480px;
|
max-width: var(--main-content-max-width, 480px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.register__form-button {
|
.register__form-button {
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
:root {
|
||||||
|
--main-content-max-width: 480px;
|
||||||
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
3
app/static/css/user.css
Normal file
3
app/static/css/user.css
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.user {
|
||||||
|
max-width: var(--main-content-max-width, 480px);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user