Skip to content

Commit

Permalink
fix(/src/theme): fix <Modal> vertical positioning (#658)
Browse files Browse the repository at this point in the history
A previous PR (#601) broke vertical positioning for modals, like `position="bottom-right"`. This reverts such changes.
  • Loading branch information
Ncookiez authored Mar 7, 2023
1 parent 525b90d commit 5fec3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/theme/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ const theme: FlowbiteTheme = {
},
},
content: {
base: 'relative h-full w-full p-4',
base: 'relative h-full w-full p-4 md:h-auto',
inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700',
},
body: {
Expand Down

0 comments on commit 5fec3ca

Please sign in to comment.