Skip to content

Commit

Permalink
fix: use display block in line style
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanOliveiraM committed Nov 17, 2022
1 parent 7f0d8c5 commit e081934
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"react",
"typescript"
],
"version": "2.1.5",
"version": "2.1.6",
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 5 additions & 1 deletion src/components/molecules/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const motionBackgroundVariants = {
},
visible: {
opacity: 1,
display: 'block',
},
}

Expand Down Expand Up @@ -95,6 +94,11 @@ const ModalBase = ({
transition={{
default: { duration: 0.3 },
}}
style={{
...(modalIsOpen && {
display: 'block',
}),
}}
>
<ModalBackground variant='center' {...backgroundProps}>
<ModalCard ref={modalMainRef} {...props}>
Expand Down

0 comments on commit e081934

Please sign in to comment.