mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 11:44:00 +08:00
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:
parent
67ef46894f
commit
7dcaaec90c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user