From 79fd2d049a6338a3745fb1255933924fe10ef986 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Tue, 29 Aug 2023 19:28:25 -0700 Subject: [PATCH] changelog --- upcoming_changelogs/7144.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 upcoming_changelogs/7144.md diff --git a/upcoming_changelogs/7144.md b/upcoming_changelogs/7144.md new file mode 100644 index 000000000000..25604d3fb515 --- /dev/null +++ b/upcoming_changelogs/7144.md @@ -0,0 +1,8 @@ +- Fixed-positioned `EuiHeader`s now set a global CSS `--euiFixedHeadersOffset` variable, which updates dynamically based on the number of fixed headers on the page. +- `EuiFlyout`s now dynamically set their position, height, and mask based on the number of fixed headers on the page. +- Sticky-positioned `EuiPageSidebar`s now dynamically set their position and height based on the number of fixed headers on the page. This can still be overridden via the `sticky.offset` prop if needed. +- `EuiPageTemplate` now dynamically offsets content from any fixed headers on the page. This can still be overridden via the `offset` prop if needed. + +**Deprecations** + +- Deprecated the Sass `euiHeaderAffordForFixed` mixin. Use the new global CSS `var(--euiFixedHeadersOffset)` variable instead.