Skip to content

Commit

Permalink
Fix euiFlyoutBody__banner CSS
Browse files Browse the repository at this point in the history
- overflow-x should be on the __banner element, not on EuiCallOut

- remove .euiCallOut CSS completely: it wasn't being applied correctly (spelling), and also the border overrides it was setting no longer apply to Amsterdam themes
  • Loading branch information
cee-chen committed Sep 14, 2022
1 parent 333d272 commit e6b0b1d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/flyout/flyout_body.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ export const euiFlyoutBodyStyles = (euiThemeContext: UseEuiTheme) => {
`,
},
euiFlyoutBody__banner: css`
.euiCallout {
${logicalCSSWithFallback('overflow-x', 'hidden')}
border: none; // Remove border from callout when it is a flyout banner
border-radius: 0; // Ensures no border-radius in all themes
}
${logicalCSSWithFallback('overflow-x', 'hidden')}
`,
};
};

0 comments on commit e6b0b1d

Please sign in to comment.