mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-30 16:17:41 +01:00
Fix modal offset
Co-authored-by: mrjvs <mistrjvs@gmail.com>
This commit is contained in:
parent
179bdb07dd
commit
b91f0e4b3d
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ export function useModal(id: string) {
|
|||
|
||||
export function ModalCard(props: { children?: ReactNode }) {
|
||||
return (
|
||||
<div className="w-[30rem] max-w-full">
|
||||
<div className="w-full bg-dropdown-background rounded-xl p-8 m-4 pointer-events-auto">
|
||||
<div className="w-full max-w-[30rem] m-4">
|
||||
<div className="w-full bg-dropdown-background rounded-xl p-8 pointer-events-auto">
|
||||
{props.children}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue