Skip to content

Commit

Permalink
fix: expose padding prop and adjust z-index for Popover component (#263)
Browse files Browse the repository at this point in the history
* style(popover): expose padding prop for Popover component

* fix: update zIndex on Popover content container

Co-authored-by: Ján Hamara <jan.hamara@free-now.com>
  • Loading branch information
JanHamara and Ján Hamara committed Jul 21, 2022
1 parent 6aecdd6 commit da0e80b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ const Popover: React.FC<PopoverProps> = ({
<PopoverContentContainer
id="popover-content"
ref={setContentReference}
// zIndex temporary until we have Portal component
style={{ ...styles.popper, zIndex: 9999 }}
style={{ ...styles.popper, zIndex: 999 }}
{...attributes.popper}
>
<PopoverContentWrapper ref={popoverContentRef}>
Expand Down

0 comments on commit da0e80b

Please sign in to comment.