Skip to content

Commit

Permalink
[8.10] [Security Solution] expandable flyout - increase line-height f…
Browse files Browse the repository at this point in the history
…or session preview (#166932) (#167415)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] expandable flyout - increase line-height for
session preview
(#166932)](#166932)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-09-22T06:47:33Z","message":"[Security
Solution] expandable flyout - increase line-height for session preview
(#166932)","sha":"416dabf505e8cf2941ae8dd6187af707cfac68a6","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.11.0","v8.10.3"],"number":166932,"url":"https://github.com/elastic/kibana/pull/166932","mergeCommit":{"message":"[Security
Solution] expandable flyout - increase line-height for session preview
(#166932)","sha":"416dabf505e8cf2941ae8dd6187af707cfac68a6"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/166932","number":166932,"mergeCommit":{"message":"[Security
Solution] expandable flyout - increase line-height for session preview
(#166932)","sha":"416dabf505e8cf2941ae8dd6187af707cfac68a6"}},{"branch":"8.10","label":"v8.10.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
PhilippeOberti and kibanamachine authored Sep 27, 2023
1 parent 3ee1d4d commit f4dd54a
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import { EuiCode, EuiIcon, useEuiTheme } from '@elastic/eui';
import React, { useMemo, type FC } from 'react';
import { css } from '@emotion/react';
import { SESSION_PREVIEW_TEST_ID } from './test_ids';
import { useRightPanelContext } from '../context';
import { SIGNAL_RULE_NAME_FIELD_NAME } from '../../../timelines/components/timeline/body/renderers/constants';
Expand Down Expand Up @@ -103,7 +104,12 @@ export const SessionPreview: FC = () => {
}, [command, workdir]);

return (
<div data-test-subj={SESSION_PREVIEW_TEST_ID}>
<div
css={css`
line-height: 1.5;
`}
data-test-subj={SESSION_PREVIEW_TEST_ID}
>
<ValueContainer>
<EuiIcon type="user" />
&nbsp;
Expand Down

0 comments on commit f4dd54a

Please sign in to comment.