Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand committed Feb 15, 2024
1 parent 9b49533 commit 3afc9b8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
12 changes: 8 additions & 4 deletions app/routes/_marketing.playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function Playground() {
}, []);

const loadingState = (
<div className="w-full h-full flex items-center justify-center">
<div className="flex h-full w-full items-center justify-center">
{state?.status ? `${state.status}...` : "booting..."}
</div>
);
Expand All @@ -24,7 +24,7 @@ export default function Playground() {
return (
<Await resolve={state.containerPromise}>
{() => (
<div className="flex flex-1 m-auto w-[90rem] max-w-full px-4 sm:px-6 lg:px-8">
<div className="m-auto flex w-[90rem] max-w-full flex-1 px-4 sm:px-6 lg:px-8">
<div className="flex flex-1">
<section className="flex flex-1">
<style
Expand Down Expand Up @@ -59,7 +59,7 @@ function Preview() {
}, []);

const loadingState = (
<div className="w-full h-full flex items-center justify-center">
<div className="flex h-full w-full items-center justify-center">
{state?.status
? state.status === "ready"
? "waiting for server..."
Expand All @@ -76,7 +76,11 @@ function Preview() {
<React.Suspense fallback={loadingState}>
<Await resolve={state.urlPromise}>
{(url) => (
<iframe className="bg-white w-full h-full border" src={url} />
<iframe
className="h-full w-full border bg-white"
src={url}
title="Remix preview"
/>
)}
</Await>
</React.Suspense>
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@remix-run/react": "2.6.0",
"@remix-run/v1-meta": "0.1.3",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@webcontainer/api": "^1.1.8",
"@webcontainer/api": "^1.1.9",
"cheerio": "^1.0.0-rc.12",
"clsx": "^2.1.0",
"compression": "^1.7.4",
Expand Down

0 comments on commit 3afc9b8

Please sign in to comment.