Skip to content

Commit

Permalink
fix(dialog): position func err
Browse files Browse the repository at this point in the history
  • Loading branch information
keiko233 committed Sep 7, 2024
1 parent f224adf commit ca5b15d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/ui/src/materialYou/components/baseDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const BaseDialog = ({
{!full && (
<motion.div
className={cn(
"absolute inset-0 z-50",
"fixed inset-0 z-50",
OS === "linux" ? "bg-black/50" : "backdrop-blur-xl",
)}
style={{
Expand All @@ -139,7 +139,7 @@ export const BaseDialog = ({

<motion.div
className={cn(
"absolute left-[50%] top-[50%] z-50",
"fixed left-[50%] top-[50%] z-50",
full ? "h-dvh w-full" : "min-w-96 rounded-3xl shadow",
palette.mode === "dark"
? "text-white shadow-zinc-900"
Expand Down

0 comments on commit ca5b15d

Please sign in to comment.