You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiFlyoutMenu] Increase height to match Kibana AppHeader compact mode #10093
The EuiFlyout Menu component is shorter than the compact mode AppHeader used in the new Kibana design. This causes visual misalignment between the header and its flyout menu.
Proposed Solution
Increase the height of the EuiFlyout Menu so it matches the Kibana AppHeader compact mode: 48px height plus a 1px border. Ensure the flyout's compact variant uses these dimensions and update any related styles, tokens, and stories/tests as needed.
Use Case
Used in Kibana's new AppHeader where compact mode expects visual alignment between the header and flyout menus. Matching heights will improve visual consistency across the product.
Value / Impact
Consistent UI alignment between AppHeader and flyout menus.
Improves visual polish for Kibana consumers and other EUI users adopting the compact header variant.
Low risk, targeted styling change, but should be verified across components using EuiFlyout.
Urgency
Medium — desirable for alignment with the new AppHeader, but not blocking other work.
Do alternatives or workarounds exist?
Workarounds include custom styling in Kibana to override EuiFlyoutMenu height in our chat UIs.
Related code or customizations
Kibana AppHeader compact mode height: 48px + 1px border - we want these to align visually.
changed the title [-]Increase EuiFlyout Menu height to match Kibana AppHeader compact mode[/-][+][EuiFlyoutMenu] Increase height to match Kibana AppHeader compact mode[/+]on Sep 28, 2026
/**
* Temporary override so the flyout menu row matches the 48px compact app header. EUI has no prop for
* the row height, its controls group only spans its content height (so it's stretched to re-centre the
* actions), and the close button is absolutely positioned outside that group, so it's re-centred
* separately. Remove once EUI supports a configurable menu row height.
*/
export const flyoutMenuRowStyles = ({ euiTheme }: UseEuiTheme) => {
const rowHeight = euiTheme.size.xxxl;
const closeButtonHeight = euiTheme.size.l;
return css`
.euiFlyoutMenu {
block-size: ${rowHeight};
}
.euiFlyoutMenu > .euiFlexGroup {
block-size: 100%;
}
.euiFlyoutMenu .euiFlyout__closeButton {
inset-block-start: calc(
(${rowHeight} - ${euiTheme.border.width.thin} - ${closeButtonHeight}) / 2
);
}
`;
};
This is the sort of code that we're having to add to get around this for now 👎🏽 please let me know when we've updated this to be dynamic based on sizing like s, m etc. so that we can take advantage of that API when it's available, cheers.
Activity
[-]Increase EuiFlyout Menu height to match Kibana AppHeader compact mode[/-][+][EuiFlyoutMenu] Increase height to match Kibana AppHeader compact mode[/+]chrisbmar commentedon Sep 28, 2026
This is the sort of code that we're having to add to get around this for now 👎🏽 please let me know when we've updated this to be dynamic based on sizing like s, m etc. so that we can take advantage of that API when it's available, cheers.
Implemented as part of this PR: elastic/kibana#293893
[Agent Builder] Conversation details flyout: custom menu actions and …