Fix right click in expanded composer

Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-04-30 20:03:47 -05:00 committed by GitHub
parent cfd60c30ee
commit 78cacf7ccc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,11 +98,16 @@
}
&--large {
max-height: calc(212px - 2 * $border-size);
min-height: calc(212px - 2 * $border-size);
$largeHeight: 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 {
height: calc(212px - 2 * $padding-top - 2 * $border-size);
height: $largeHeightContentBox;
}
}