Skip to content

Commit da0e80b

Browse files
JanHamaraJán Hamara
and
Ján Hamara
authored
fix: expose padding prop and adjust z-index for Popover component (#263)
* style(popover): expose padding prop for Popover component * fix: update zIndex on Popover content container Co-authored-by: Ján Hamara <[email protected]>
1 parent 6aecdd6 commit da0e80b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/Popover/Popover.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ const Popover: React.FC<PopoverProps> = ({
233233
<PopoverContentContainer
234234
id="popover-content"
235235
ref={setContentReference}
236-
// zIndex temporary until we have Portal component
237-
style={{ ...styles.popper, zIndex: 9999 }}
236+
style={{ ...styles.popper, zIndex: 999 }}
238237
{...attributes.popper}
239238
>
240239
<PopoverContentWrapper ref={popoverContentRef}>

0 commit comments

Comments
 (0)