[8.x] [Console] Fix output panel height (#202108) (#202171)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Console] Fix output panel height
(#202108)](https://github.com/elastic/kibana/pull/202108)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2024-11-28T13:27:30Z","message":"[Console]
Fix output panel height
(#202108)","sha":"d17f1d5f745c5a67e038020b1dadb0c5db6cb65e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Console","Team:Kibana
Management","release_note:skip","v9.0.0","backport:prev-minor","v8.16.0","v8.17.0"],"title":"[Console]
Fix output panel
height","number":202108,"url":"https://github.com/elastic/kibana/pull/202108","mergeCommit":{"message":"[Console]
Fix output panel height
(#202108)","sha":"d17f1d5f745c5a67e038020b1dadb0c5db6cb65e"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202108","number":202108,"mergeCommit":{"message":"[Console]
Fix output panel height
(#202108)","sha":"d17f1d5f745c5a67e038020b1dadb0c5db6cb65e"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ignacio Rivas <rivasign@gmail.com>
This commit is contained in:
Kibana Machine 2024-11-29 02:17:20 +11:00 committed by GitHub
parent b3ec87c71b
commit 4a19426217
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,7 +213,7 @@ export const Editor = memo(({ loading, inputEditorValue, setInputEditorValue }:
<EuiSplitPanel.Outer borderRadius="none" hasShadow={false} style={{ height: '100%' }}>
<EuiSplitPanel.Inner
paddingSize="none"
css={{ alignContent: 'center', top: 0 }}
css={{ alignContent: 'center', top: 0, height: 'calc(100% - 40px)' }}
className="consoleEditorPanel"
>
{data ? (