Spaces:
Running
Running
shadow
Browse files
src/components/preview/preview.tsx
CHANGED
@@ -38,7 +38,7 @@ function Preview({
|
|
38 |
<div
|
39 |
ref={ref}
|
40 |
className={classNames(
|
41 |
-
"w-full border-l border-gray-900 bg-
|
42 |
{
|
43 |
"flex items-center justify-center": device === "mobile",
|
44 |
}
|
@@ -58,7 +58,7 @@ function Preview({
|
|
58 |
"w-full select-none transition-all duration-200",
|
59 |
{
|
60 |
"pointer-events-none": isResizing || isAiWorking,
|
61 |
-
"max-w-md mx-auto h-[80dvh] rounded-[86px] border-[8px] border-black":
|
62 |
device === "mobile",
|
63 |
"h-full": device === "desktop",
|
64 |
}
|
|
|
38 |
<div
|
39 |
ref={ref}
|
40 |
className={classNames(
|
41 |
+
"w-full border-l border-gray-900 bg-white h-[calc(100dvh-49px)] lg:h-[calc(100dvh-53px)] relative transition-all duration-200",
|
42 |
{
|
43 |
"flex items-center justify-center": device === "mobile",
|
44 |
}
|
|
|
58 |
"w-full select-none transition-all duration-200",
|
59 |
{
|
60 |
"pointer-events-none": isResizing || isAiWorking,
|
61 |
+
"max-w-md mx-auto h-[80dvh] rounded-[86px] border-[8px] border-black shadow-2xl":
|
62 |
device === "mobile",
|
63 |
"h-full": device === "desktop",
|
64 |
}
|