Skip to content

[8.x] [Security Solution] [Attack discovery] Fixes overflow styling for markdown with XL badges (#213666)#213774

Merged
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-213666
Mar 10, 2025
Merged

[8.x] [Security Solution] [Attack discovery] Fixes overflow styling for markdown with XL badges (#213666)#213774
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-213666

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…kdown with XL badges (elastic#213666)

### [Security Solution] [Attack discovery] Fixes overflow styling for markdown with XL badges

This PR fixes an overflow styling issue when markdown contains badges that exceed the width of the container, as reported in <elastic#213228>.

It also hides the `Load query` and `Save query` menu items from the filter popup menu in the settings flyout.

![scrollable details](https://github.com/user-attachments/assets/bb895de2-cade-4f89-8dcd-643349eca115)

#### Details

- The overflow issue is fixed by enabling horizontal scrolling when badges exceed the width of the markdown container, as illustrated by the before and after screenshots below:

**Before**

![details before](https://github.com/user-attachments/assets/e6698b38-2899-4ded-84f1-ad0d00418245)

**After**

![details after](https://github.com/user-attachments/assets/35e387aa-659a-4b6e-b5a9-d2b0972c98b0)

- The`Load query` and `Save query` menu items in the filter popup menu are now hidden, as illustrated by the before and after screenshots of the settings flyout below:

**Before**

![filter menu before](https://github.com/user-attachments/assets/8e930247-3fec-4ff2-b4dc-0d49f7248b8f)

**After**

![filter menu after](https://github.com/user-attachments/assets/b874ff2c-8000-4f0f-a542-0366acbdcce2)

(cherry picked from commit ecdea5a)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 10, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 10, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

2 participants