Use classes

This commit is contained in:
Jan Cernik 2024-11-05 19:07:40 -03:00
parent 43942cf1d4
commit 8b407c9258
No known key found for this signature in database

View File

@ -1,16 +1,20 @@
// Shared styles
html.keyboard-visible.mobile-view
#main-outlet:has(.login-fullpage, .signup-fullpage, .invites-show) {
height: calc(100dvh - var(--header-offset) - env(keyboard-inset-height));
max-height: calc(100dvh - var(--header-offset) - env(keyboard-inset-height));
overflow-y: scroll;
overflow-x: hidden;
padding-top: 0;
.login-fullpage,
.signup-fullpage,
.invites-show {
padding-top: var(--header-offset);
html.keyboard-visible.mobile-view {
body.login-page,
body.signup-page,
body.invite-page {
height: calc(100dvh - var(--header-offset) - env(keyboard-inset-height));
max-height: calc(00dvh - var(--header-offset) - env(keyboard-inset-height));
overflow-y: scroll;
overflow-x: hidden;
padding-top: 0;
.login-fullpage,
.signup-fullpage,
.invites-show {
padding-top: var(--header-offset);
}
}
}