mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 10:57:04 +08:00
Use classes
This commit is contained in:
parent
43942cf1d4
commit
8b407c9258
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user