Skip to content

Commit

Permalink
[misc] Remove unnecessary resize CSS override, use prop instead
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Sep 19, 2024
1 parent d21efe7 commit 43b467b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

.kbnQueryBar__textarea {
z-index: $euiZContentMenu;
resize: none !important; // When in the group, it will autosize
height: $euiFormControlHeight;
// Unlike most inputs within layout control groups, the text area still needs a border
// for multi-line content. These adjusts help it sit above the control groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ export default class QueryStringInputUI extends PureComponent<QueryStringInputPr
disabled={this.props.isDisabled}
className={inputClassName}
fullWidth
resize="none"
rows={1}
id={this.textareaId}
autoFocus={
Expand Down

0 comments on commit 43b467b

Please sign in to comment.