Skip to content

Commit

Permalink
[Discover] Add max height and scroll to error message body (#8867) (#…
Browse files Browse the repository at this point in the history
…8868)

* add max height and scroll



* Changeset file for PR #8867 created/updated

* comments and update snapshot



---------



(cherry picked from commit 2eb162d)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 15, 2024
1 parent 8b674db commit bfeefd3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/8867.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Add max height and scroll to error message body ([#8867](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8867))

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ export function QueryResult(props: { queryStatus: QueryStatus }) {
data-test-subj="queryResultError"
>
<EuiPopoverTitle>ERRORS</EuiPopoverTitle>
<div style={{ width: '250px' }} className="eui-textBreakWord">
<div
style={{ width: '250px', maxHeight: '250px', overflowY: 'auto' }}
className="eui-textBreakWord"
>
<EuiText size="s">
<p>
<strong>
Expand Down

0 comments on commit bfeefd3

Please sign in to comment.