Skip to content

Commit

Permalink
[8.6] [Osquery] [Fix] Fix osquery results table fullscreen height iss…
Browse files Browse the repository at this point in the history
…ue (#147076) (#147381)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Osquery] [Fix] Fix osquery results table fullscreen height issue
(#147076)](#147076)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"[email protected]"},"sourceCommit":{"committedDate":"2022-12-12T18:18:09Z","message":"[Osquery]
[Fix] Fix osquery results table fullscreen height issue
(#147076)","sha":"5d0855a08f9882b82f544ea01dc9325ff9a0f87b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Asset
Management","Feature:Osquery","v8.6.0","v8.7.0"],"number":147076,"url":"https://github.com/elastic/kibana/pull/147076","mergeCommit":{"message":"[Osquery]
[Fix] Fix osquery results table fullscreen height issue
(#147076)","sha":"5d0855a08f9882b82f544ea01dc9325ff9a0f87b"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147076","number":147076,"mergeCommit":{"message":"[Osquery]
[Fix] Fix osquery results table fullscreen height issue
(#147076)","sha":"5d0855a08f9882b82f544ea01dc9325ff9a0f87b"}}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <[email protected]>
  • Loading branch information
kibanamachine and tomsonpl authored Dec 12, 2022
1 parent ab6ee03 commit fc28e48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/plugins/osquery/public/results/results_table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ import { AddToCaseWrapper } from '../cases/add_to_cases';
const DataContext = createContext<ResultEdges>([]);

const StyledEuiDataGrid = styled(EuiDataGrid)`
max-height: 500px;
:not(.euiDataGrid--fullScreen) {
max-height: 500px;
}
`;

export interface ResultsTableComponentProps {
Expand Down

0 comments on commit fc28e48

Please sign in to comment.