-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix SolutionNav
padding in pages that use overridden EUI breakpoints
#211513
Fix SolutionNav
padding in pages that use overridden EUI breakpoints
#211513
Conversation
… APM's custom xxl and xxxl sizes
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
cc @tkajtoch |
Starting backport for target branches: 9.0 https://github.com/elastic/kibana/actions/runs/13387413193 |
elastic#211513) (cherry picked from commit ff2e3dd)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…kpoints (#211513) (#211535) # Backport This will backport the following commits from `main` to `9.0`: - [Fix `SolutionNav` padding in pages that use overridden EUI breakpoints (#211513)](#211513) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tomasz Kajtoch","email":"tomasz.kajtoch@elastic.co"},"sourceCommit":{"committedDate":"2025-02-18T09:31:23Z","message":"Fix `SolutionNav` padding in pages that use overridden EUI breakpoints (#211513)","sha":"ff2e3dd36f4d9b0dd1705bc0e1235fc5fa92a94c","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v9.1.0"],"title":"Fix `SolutionNav` padding in pages that use overridden EUI breakpoints","number":211513,"url":"https://github.com/elastic/kibana/pull/211513","mergeCommit":{"message":"Fix `SolutionNav` padding in pages that use overridden EUI breakpoints (#211513)","sha":"ff2e3dd36f4d9b0dd1705bc0e1235fc5fa92a94c"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211513","number":211513,"mergeCommit":{"message":"Fix `SolutionNav` padding in pages that use overridden EUI breakpoints (#211513)","sha":"ff2e3dd36f4d9b0dd1705bc0e1235fc5fa92a94c"}}]}] BACKPORT--> Co-authored-by: Tomasz Kajtoch <tomasz.kajtoch@elastic.co>
Summary
Fixes #211474
This PR fixes a bug introduced in #207008 that caused the
<SolutionNav />
component to not have thepadding
style defined when rendered on certain Observability pages.The underlying issue was caused by
useEuiBreakpoint(['m', 'l', 'xl'])
hook to define breakpoints while the APM, Synthetics, and User Experience apps modify the default EUI breakpoints to add customxxl
(>=1600px) andxxxl
(>=2000px) levels. This breakpoint modification resulted in not all breakpoint levels being recognized as matching and thepadding
style not applied.Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:*
label is applied per the guidelines