mirror of
https://github.com/discourse/discourse.git
synced 2025-06-08 00:27:32 +08:00
UX: Do not let composer affect chat window height (#32423)
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
var(--composer-vh, 1vh) * 100 - var(--main-outlet-offset, 0px) - 1px -
|
||||
$inset
|
||||
);
|
||||
height: calc($base-height - var(--composer-height, 0px));
|
||||
height: calc($base-height);
|
||||
|
||||
// mobile with keyboard opened
|
||||
html.keyboard-visible & {
|
||||
@ -14,13 +14,11 @@
|
||||
|
||||
// ipad
|
||||
html.footer-nav-ipad & {
|
||||
height: calc($base-height - var(--composer-height, 0px));
|
||||
height: calc($base-height);
|
||||
}
|
||||
|
||||
// PWA/HUB without keyboard
|
||||
html.footer-nav-visible:not(.keyboard-visible) & {
|
||||
height: calc(
|
||||
$base-height - var(--composer-height, 0px) - var(--footer-nav-height, 0px)
|
||||
);
|
||||
height: calc($base-height - var(--footer-nav-height, 0px));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user