Skip to content

Commit e5ae85c

Browse files
committedOct 2, 2023
fixed properties of popover
1 parent 5c0a243 commit e5ae85c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎react/components/Popover/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ const MadiePopover = ({
77
anchorEl,
88
handleClose,
99
canEdit,
10-
editViewSelectOptionProps,
11-
additionalSelectOptionProps,
12-
otherSelectOptionProps,
10+
editViewSelectOptionProps = {},
11+
additionalSelectOptionProps = [],
12+
otherSelectOptionProps = [],
1313
}) => {
1414
return (
1515
<Popover
@@ -35,7 +35,7 @@ const MadiePopover = ({
3535
marginLeft: "-70px",
3636
borderRadius: "6px",
3737
background: "#F7F7F7",
38-
width: "115px",
38+
width: "fit-content",
3939
"&::before": {
4040
borderWidth: "thin",
4141
position: "absolute",

0 commit comments

Comments
 (0)
Please sign in to comment.