Skip to content

Commit

Permalink
[Security] Fix cell expansion popover actions
Browse files Browse the repository at this point in the history
- EUI added 2 `.euiPopoverFooter`s for overflowing cell actions, and Security's CSS to hide the first 2 cell actions (replaced by their own custom cell actions) was unintentionally affecting other actions
  • Loading branch information
cee-chen committed Apr 7, 2022
1 parent 0331f09 commit 562bd03
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ export const AppGlobalStyle = createGlobalStyle<{ theme: { eui: { euiColorPrimar
.euiPopoverFooter {
border: 0;
margin-top: 0 !important;
.euiFlexGroup {
flex-direction: column;
}
}
.euiButtonEmpty .euiButtonContent {
justify-content: left;
}
.euiFlexItem:first-child,
.euiFlexItem:nth-child(2) {
display: none;
}
// Hide EUI's 'Filter in' and 'Filter out' footer buttons - replaced with our own buttons
.euiPopoverFooter:nth-child(2) {
.euiFlexItem:first-child,
.euiFlexItem:nth-child(2) {
display: none;
}
}
}
Expand Down

0 comments on commit 562bd03

Please sign in to comment.