Skip to content

Commit

Permalink
[misc] Fix EuiCollapsibleNavItem story
Browse files Browse the repository at this point in the history
- this visually broke when I removed the `eui-yScroll` child div - fixing it now
  • Loading branch information
cee-chen committed Aug 9, 2023
1 parent 60a5ea3 commit 9a9ebc2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export const Playground: Story = {

export const EdgeCaseTesting: Story = {
render: ({ ...args }) => (
<EuiCollapsibleNavBeta>
// Since we're not using EuiFlyoutBody/Footer, the flex display isn't needed
// and causes item vertical margins to not collapse
<EuiCollapsibleNavBeta className="eui-displayBlock">
<EuiCollapsibleNavItem {...args} href="#" title="Link with no icon" />
<EuiCollapsibleNavItem
{...args}
Expand Down

0 comments on commit 9a9ebc2

Please sign in to comment.