Skip to content

Commit

Permalink
Fix right click in expanded composer
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebuilds-signal committed May 1, 2024
1 parent d1f296a commit 794eeb2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions stylesheets/components/CompositionInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 794eeb2

Please sign in to comment.