File tree Expand file tree Collapse file tree
app/(lander-docs)/components/docs Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) }
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments