mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-14 09:05:06 +01:00
Fix modal offset
Co-authored-by: mrjvs <mistrjvs@gmail.com>
This commit is contained in:
parent
179bdb07dd
commit
b91f0e4b3d
@ -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 New Issue
Block a user