Skip to content

Commit

Permalink
[8.12] [EDR Workflows] Fix osquery ECS Mapping dropdown values styles (
Browse files Browse the repository at this point in the history
…#175188) (#175213)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[EDR Workflows] Fix osquery ECS Mapping dropdown values styles
(#175188)](#175188)

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

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

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-01-22T14:53:43Z","message":"[EDR
Workflows] Fix osquery ECS Mapping dropdown values styles
(#175188)","sha":"3755f4edc677e56baec9918f42e87ef33ddfc507","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","ci:all-cypress-suites","Osquery","v8.12.1","v8.13.0"],"title":"[EDR
Workflows] Fix osquery ECS Mapping dropdown values
styles","number":175188,"url":"https://github.com/elastic/kibana/pull/175188","mergeCommit":{"message":"[EDR
Workflows] Fix osquery ECS Mapping dropdown values styles
(#175188)","sha":"3755f4edc677e56baec9918f42e87ef33ddfc507"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175188","number":175188,"mergeCommit":{"message":"[EDR
Workflows] Fix osquery ECS Mapping dropdown values styles
(#175188)","sha":"3755f4edc677e56baec9918f42e87ef33ddfc507"}}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <[email protected]>
  • Loading branch information
kibanamachine and tomsonpl authored Jan 22, 2024
1 parent 0485400 commit 60925c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const fieldIconCss = {
export const fieldSpanCss = {
paddingTop: '0 !important',
paddingBottom: '0 !important',
paddingLeft: '5px',
};

export const descriptionWrapperCss = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const ECSComboboxFieldComponent: React.FC<ECSComboboxFieldProps> = ({
</EuiFlexItem>
<EuiFlexItem grow={false}>
<span css={fieldSpanCss} className="euiSuggestItem__label euiSuggestItem__label--expand">
{option.value.field}
<b>{option.value.field}</b>
</span>
</EuiFlexItem>

Expand Down Expand Up @@ -394,7 +394,7 @@ const OsqueryColumnFieldComponent: React.FC<OsqueryColumnFieldProps> = ({
>
<EuiFlexItem grow={false}>
<span css={fieldSpanCss} className="euiSuggestItem__label euiSuggestItem__label--expand">
{option.value.suggestion_label}
<b>{option.value.suggestion_label}</b>
</span>
</EuiFlexItem>
<EuiFlexItem css={descriptionWrapperCss} grow={false}>
Expand Down

0 comments on commit 60925c1

Please sign in to comment.