UX: allows drawer to take most of height space (#20197)

Only the header's height and 15px spacing are removed from the height of the viewport.

Previously it was limited to 90vh and there was also a useless property on a child node limiting it to 85vh. We now use only one property.
This commit is contained in:
Joffrey JAFFEUX 2023-02-07 19:49:00 +01:00 committed by GitHub
parent 67ef46894f
commit 7dcaaec90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,6 @@ html.rtl {
}
box-sizing: border-box;
max-height: 90vh;
padding-bottom: var(--composer-height, 0);
transition: all 100ms ease-in;
transition-property: bottom, padding-bottom;
@ -67,7 +66,7 @@ html.rtl {
width: 400px;
min-width: 250px !important; // important to override inline styles
max-width: calc(100% - var(--composer-right));
max-height: 85vh;
max-height: calc(100vh - var(--header-offset) - 15px);
min-height: 300px !important; // important to override inline styles
.chat-drawer-container {