Skip to content

Commit

Permalink
styling(modals): make modal width larger on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
emilielr committed May 24, 2024
1 parent b310904 commit 1f0911f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next-tavla/app/(admin)/components/CreateBoard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function CreateBoard({ isSideNav }: { isSideNav?: boolean }) {
<Modal
open={open}
size="large"
className="flex flex-col items-center w-3/4 lg:w-full"
className="flex flex-col items-center w-11/12 lg:w-full"
onDismiss={() => {
setBoard(undefined)
setFormError(undefined)
Expand Down
2 changes: 1 addition & 1 deletion next-tavla/app/(admin)/components/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Login({ loggedIn }: { loggedIn: boolean }) {
<Modal
open={open}
size="small"
className="w-3/4 lg:w-full"
className="w-11/12 lg:w-full"
onDismiss={() => router.push(pathname ?? '/')}
>
<div className="flex flex-row justify-between">
Expand Down

0 comments on commit 1f0911f

Please sign in to comment.