Skip to content

Commit

Permalink
[BDX-town#350] Set maxHeight for compose textarea.
Browse files Browse the repository at this point in the history
  • Loading branch information
blacklight committed Nov 22, 2024
1 parent 8bfdc48 commit a10e07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/soapbox/components/autosuggest_textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class AutosuggestTextarea extends ImmutablePureComponent<IAutosuggesteTextarea>
render() {
const { value, suggestions, disabled, placeholder, onKeyUp, autoFocus, children, condensed, id } = this.props;
const { suggestionsHidden } = this.state;
const style = { direction: 'ltr', minRows: 10 };
const style = { direction: 'ltr', minRows: 10, maxHeight: '80vh' };

if (isRtl(value)) {
style.direction = 'rtl';
Expand Down

0 comments on commit a10e07b

Please sign in to comment.