Skip to content

Commit 0623579

Browse files
authored
ui fixes (#41)
1 parent e323d26 commit 0623579

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

apps/web/app/playground/layout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ export default function PlaygroundLayout({
33
}: {
44
children: React.ReactNode;
55
}) {
6-
return (
7-
<div className="h-screen flex flex-col overflow-hidden">{children}</div>
8-
);
6+
return <div className="h-dvh flex flex-col overflow-hidden">{children}</div>;
97
}

apps/web/components/header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ export function Header() {
5151
href="/playground"
5252
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
5353
>
54-
Playground
54+
<span className="sm:hidden">Play</span>
55+
<span className="hidden sm:inline">Playground</span>
5556
</Link>
5657
<Link
5758
href="/docs"

apps/web/components/playground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ ${jsx}
330330
onChange={(e) => setInputValue(e.target.value)}
331331
onKeyDown={handleKeyDown}
332332
placeholder="Describe changes..."
333-
className="w-full bg-background text-sm resize-none outline-none placeholder:text-muted-foreground/50"
333+
className="w-full bg-background text-base sm:text-sm resize-none outline-none placeholder:text-muted-foreground/50"
334334
rows={2}
335335
/>
336336
<div className="flex justify-between items-center mt-2">

0 commit comments

Comments
 (0)