Fix right click in expanded composer

This commit is contained in:
Jamie Kyle 2024-04-30 17:53:02 -07:00 committed by GitHub
parent d1f296a4af
commit 794eeb2323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,11 +98,16 @@
} }
&--large { &--large {
max-height: calc(212px - 2 * $border-size); $largeHeight: calc(212px - 2 * $border-size);
min-height: calc(212px - 2 * $border-size); $largeHeightContentBox: calc($largeHeight - 2 * $padding-top);
// Explicit height needed to allow `height: 100%` on children
height: $largeHeight;
max-height: $largeHeight;
min-height: $largeHeight;
.DraftEditor-root { .DraftEditor-root {
height: calc(212px - 2 * $padding-top - 2 * $border-size); height: $largeHeightContentBox;
} }
} }