Skip to content

Commit

Permalink
fix: update flyout width
Browse files Browse the repository at this point in the history
  • Loading branch information
logeekal committed Jul 1, 2024
1 parent a5aea78 commit 78662ba
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export type NotesFlyoutProps = {
* Timeline Modal as they both have same z-index of 1000
*/
const NotesFlyoutContainer = styled(EuiFlyout)`
/*
* We want the width of flyout to be less than 50% of screen because
* otherwise it interferes with the delete notes modal
* */
width: 30%;
z-index: ${(props) =>
((props.theme as EuiTheme).eui.euiZFlyout.toFixed() ?? 1000) + 2} !important;
`;
Expand Down

0 comments on commit 78662ba

Please sign in to comment.