Skip to content

[EuiFlyout] Reduce outer border width for push flyouts - #9803

Merged
mgadewoll merged 3 commits into
elastic:mainfrom
mgadewoll:flyout/reduce-border-width
Jul 14, 2026
Merged

mgadewoll merged 3 commits into
elastic:mainfrom
mgadewoll:flyout/reduce-border-width

Conversation

@mgadewoll

Copy link
Copy Markdown
Contributor

Summary

  • What: This PR updates the outer border width of push flyouts.
  • Why: This was a suggestion by design as the wider border looked like a visual bug.
  • How: Updates the border width from 2px to 1px aligning it with the other borders on flyouts.

API Changes

⚪ No API changes

Screenshots

component Before After
<EuiFlyout type="push" /> Screenshot 2026-07-14 at 10 18 36 Screenshot 2026-07-14 at 10 18 43
<EuiFlyoutResizable type="push" />
Screen.Recording.2026-07-14.at.10.19.13.mov
Screen.Recording.2026-07-14.at.10.19.23.mov

Impact Assessment

Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.

  • 🔴 Breaking changes — What will break? How many usages in Kibana/Cloud UI are impacted?
  • 💅 Visual changes — May impact style overrides; could require visual testing. Explain and estimate impact.
  • 🧪 Test impact — May break functional or snapshot tests (e.g., HTML structure, class names, default values).
  • 🔧 Hard to integrate — If changes require substantial updates to Kibana, please stage the changes and link them here.

Impact level: 🟢 None

Release Readiness

  • Documentation: {link to docs page(s)}
  • Figma: {link to Figma or issue}
  • Migration guide: {steps or link, for breaking/visual changes or deprecations}
  • Adoption plan (new features): {link to issue/doc or outline who will integrate this and where}

QA instructions for reviewer

  • verify that the border width is reduced from 2px to 1px
  • verify that the resizable button (on resizable flyouts) didn't change and still has 2px width (visible on hover)
  • verify that there are no unexpected regressions with production

Checklist before marking Ready for Review

Reviewer checklist

  • Approved Impact Assessment — Acceptable to merge given the consumer impact.
  • Approved Release Readiness — Docs, Figma, and migration info are sufficient to ship.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the styling of type="push" flyouts to use a thinner outer border, aligning the push divider with the rest of the flyout border treatments and addressing a design-reported visual issue.

Changes:

  • Switched push flyout side borders from euiTheme.border.thick (2px) to euiTheme.border.thin (1px).
  • Updated push flyout resize button positioning offsets to match the new 1px border width.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/eui/src/components/flyout/flyout.styles.ts Reduces push flyout edge border width from thick to thin for left/right sides.
packages/eui/src/components/flyout/_flyout_resize_button.styles.ts Adjusts push resize button offset from -border.width.thick to -border.width.thin to keep alignment with the new border.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
2 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiflyout (2 differences)

StoryBeforeAfterDiff
push flyouts desktop
push flyouts mobile

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @mgadewoll

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @mgadewoll

@mgadewoll
mgadewoll marked this pull request as ready for review July 14, 2026 09:18
@mgadewoll
mgadewoll requested a review from a team as a code owner July 14, 2026 09:18

@weronikaolejniczak weronikaolejniczak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🟢 Thanks for the quick fix, @mgadewoll

@mgadewoll
mgadewoll merged commit b5e10f6 into elastic:main Jul 14, 2026
2 checks passed
acstll added a commit to elastic/kibana that referenced this pull request Jul 21, 2026
## Dependency updates

`@elastic/eui` - v117.0.0 ⏩ v117.1.0
`@elastic/eslint-plugin-eui` - v2.13.0 ⏩ v2.14.1

## Package updates

### `@elastic/eui`
[v117.1.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Updated the outer border width on `EuiFlyout` to `1px`
([#9803](elastic/eui#9803))
- Removed the `translateY` transform on clickable `EuiPanel`s
([#9702](elastic/eui#9702))
- Updated the hover shadow size on clickable `EuiPanel`s from `l` to `m`
to align with the shadow guidelines
([#9702](elastic/eui#9702))

**Bug fixes**

- Fixed `renderHook` test utility requiring
`@testing-library/react-hooks` in consumer environments running React
18+ ([#9805](elastic/eui#9805))
- Fixed `EuiSearchBar` in-memory filtering keeping items that a negated
multi-value clause such as `-field:(a or b)` should exclude
([#9783](elastic/eui#9783))

**Dependency updates**

- Updated `@elastic/prismjs-esql` to v4.13.0
([#9814](elastic/eui#9814))

### `@elastic/eslint-plugin-eui`
[v2.14.1](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

**Bug fixes**

- Fixed ESLint failing to load `@elastic/eslint-plugin-eui` by moving
its runtime dependencies (`cssstyle`, `micromatch`,
`@typescript-eslint/utils` and `@typescript-eslint/typescript-estree`)
from `devDependencies` to `dependencies`
([#9804](elastic/eui#9804))

**Dependency updates**

- Updated `@typescript-eslint/*` packages from `8.31.1` to `8.64.0`
([#9804](elastic/eui#9804))

---------

Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Dependency updates

`@elastic/eui` - v117.0.0 ⏩ v117.1.0
`@elastic/eslint-plugin-eui` - v2.13.0 ⏩ v2.14.1

## Package updates

### `@elastic/eui`
[v117.1.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Updated the outer border width on `EuiFlyout` to `1px`
([elastic#9803](elastic/eui#9803))
- Removed the `translateY` transform on clickable `EuiPanel`s
([elastic#9702](elastic/eui#9702))
- Updated the hover shadow size on clickable `EuiPanel`s from `l` to `m`
to align with the shadow guidelines
([elastic#9702](elastic/eui#9702))

**Bug fixes**

- Fixed `renderHook` test utility requiring
`@testing-library/react-hooks` in consumer environments running React
18+ ([elastic#9805](elastic/eui#9805))
- Fixed `EuiSearchBar` in-memory filtering keeping items that a negated
multi-value clause such as `-field:(a or b)` should exclude
([elastic#9783](elastic/eui#9783))

**Dependency updates**

- Updated `@elastic/prismjs-esql` to v4.13.0
([elastic#9814](elastic/eui#9814))

### `@elastic/eslint-plugin-eui`
[v2.14.1](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

**Bug fixes**

- Fixed ESLint failing to load `@elastic/eslint-plugin-eui` by moving
its runtime dependencies (`cssstyle`, `micromatch`,
`@typescript-eslint/utils` and `@typescript-eslint/typescript-estree`)
from `devDependencies` to `dependencies`
([elastic#9804](elastic/eui#9804))

**Dependency updates**

- Updated `@typescript-eslint/*` packages from `8.31.1` to `8.64.0`
([elastic#9804](elastic/eui#9804))

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants