Skip to content

Commit

Permalink
feat: added full screen dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mikededo committed Aug 13, 2023
1 parent 441767f commit 69e25bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/aero/dialog/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Dialog: RequiredChildrenFC<Props> = ({ show, children, blur }) => (
blur && 'backdrop-blur-sm',
)}
/>
<section className="fixed transition-all top-12 bottom-12 right-1/2 translate-x-1/2 w-[600px] bg-card border rounded-2xl z-50">
<section className="fixed transition-all w-full md:border md:rounded-2xl top-0 bottom-0 md:top-12 md:bottom-12 md:right-1/2 md:translate-x-1/2 md:w-[600px] bg-card z-50">
{children}
</section>
</AppearTransition>
Expand Down

0 comments on commit 69e25bd

Please sign in to comment.