[8.17] [UI] Search bar does not auto-expand for long queries (#217556) (#217642)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[UI] Search bar does not auto-expand for long queries
(#217556)](https://github.com/elastic/kibana/pull/217556)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Ola","email":"98127445+olapawlus@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-04-09T10:10:31Z","message":"[UI]
Search bar does not auto-expand for long queries (#217556)\n\n##
Summary\nUpdates search bar styles to wrap long text inputs while
preserving\nformatting.\n\nCloses:
#211071","sha":"df60cc93929f9dad507bf2ab3c7001cbe1840502","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Presentation","backport:version","v9.1.0","v8.18.1","v9.0.1","v8.17.5"],"title":"[UI]
Search bar does not auto-expand for long
queries","number":217556,"url":"https://github.com/elastic/kibana/pull/217556","mergeCommit":{"message":"[UI]
Search bar does not auto-expand for long queries (#217556)\n\n##
Summary\nUpdates search bar styles to wrap long text inputs while
preserving\nformatting.\n\nCloses:
#211071","sha":"df60cc93929f9dad507bf2ab3c7001cbe1840502"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","9.0","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217556","number":217556,"mergeCommit":{"message":"[UI]
Search bar does not auto-expand for long queries (#217556)\n\n##
Summary\nUpdates search bar styles to wrap long text inputs while
preserving\nformatting.\n\nCloses:
#211071","sha":"df60cc93929f9dad507bf2ab3c7001cbe1840502"}},{"branch":"8.18","label":"v8.18.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ola <98127445+olapawlus@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2025-04-09 14:09:51 +02:00 committed by GitHub
parent 073ec79b28
commit 963a242be4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@
&.kbnQueryBar__textarea--autoHeight {
overflow-x: auto;
overflow-y: auto;
white-space: pre;
white-space: pre-wrap;
max-height: calc(35vh - 100px);
min-height: $euiFormControlHeight;
}