Skip to content

Commit

Permalink
fix(core): Fixed dialgo use title
Browse files Browse the repository at this point in the history
  • Loading branch information
wootsbot committed Oct 24, 2024
1 parent 3b5b5ee commit c7c9ff5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eight-oranges-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'x-boilerplate': patch
---

Fixed dialgo use title
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"prepare": "husky install",
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand Down
4 changes: 4 additions & 0 deletions src/components/auth/login-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export function LoginModal({ children, onClose }: React.PropsWithChildren<LoginM
<Dialog.Portal>
<Dialog.Overlay className="bg-stone-700/80 data-[state=open]:animate-overlayShow fixed inset-0" />
<Dialog.Content className="data-[state=open]:animate-contentShow fixed top-[50%] left-[50%] max-h-[85vh] w-[90vw] max-w-[450px] translate-x-[-50%] translate-y-[-50%] rounded-[6px] bg-white p-[25px] shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none">
<Dialog.Title hidden className="text-lg font-semibold">
Login
</Dialog.Title>

{onClose && (
<Dialog.Close asChild>
<button
Expand Down

0 comments on commit c7c9ff5

Please sign in to comment.