Skip to content

Commit be5ad3b

Browse files
committed
chore: design fixes
1 parent 4138e90 commit be5ad3b

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

apps/web/src/app/(lander-docs)/components/docs/screenshot-frame.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export function ScreenshotFrame({
294294
<figure
295295
className={cn(
296296
SHARP_RADIUS_CLASSNAME,
297-
"relative overflow-hidden border border-dashed px-3 py-3 sm:px-4 sm:py-4 md:px-5 md:py-5"
297+
"relative overflow-hidden border border-dashed bg-background-200 px-3 py-3 sm:px-4 sm:py-4 md:px-5 md:py-5 dark:bg-background-400"
298298
)}
299299
style={{ backgroundColor }}
300300
>
@@ -320,13 +320,15 @@ export function ScreenshotFrame({
320320
>
321321
<div className="absolute inset-0">
322322
{activeType === "browser" ? (
323-
<BrowserSlide
324-
item={activeItem}
325-
mediaAspectRatio={activeMediaAspectRatio}
326-
onMediaLoad={(aspectRatio) =>
327-
handleMediaLoad(activeItem.src, aspectRatio)
328-
}
329-
/>
323+
<div className="dark">
324+
<BrowserSlide
325+
item={activeItem}
326+
mediaAspectRatio={activeMediaAspectRatio}
327+
onMediaLoad={(aspectRatio) =>
328+
handleMediaLoad(activeItem.src, aspectRatio)
329+
}
330+
/>
331+
</div>
330332
) : (
331333
<WidgetSlide item={activeItem} />
332334
)}

apps/web/src/components/showcase/browser-shell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function BrowserShell({
2424
)}
2525
data-slot="browser-shell"
2626
>
27-
<div className="flex h-full w-full flex-col overflow-hidden bg-black dark:bg-background-100">
27+
<div className="flex h-full w-full flex-col overflow-hidden bg-background dark:bg-background-100">
2828
<div className="flex items-center justify-between gap-2 border-primary/5 border-b px-4 py-1">
2929
<div
3030
className="flex w-20 gap-2"

0 commit comments

Comments
 (0)