Skip to content

Commit

Permalink
fix: height on small screens (t3-oss#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-ehrlich authored Jul 26, 2022
1 parent b83f032 commit 19d97ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion template/page-studs/index/with-auth-trpc-tw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Home: NextPage = () => {
<link rel="icon" href="/favicon.ico" />
</Head>

<main className="container mx-auto flex flex-col items-center justify-center h-screen p-4">
<main className="container mx-auto flex flex-col items-center justify-center min-h-screen p-4">
<h1 className="text-5xl md:text-[5rem] leading-normal font-extrabold text-gray-700">
Create <span className="text-purple-300">T3</span> App
</h1>
Expand Down
2 changes: 1 addition & 1 deletion template/page-studs/index/with-trpc-tw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Home: NextPage = () => {
<link rel="icon" href="/favicon.ico" />
</Head>

<main className="container mx-auto flex flex-col items-center justify-center h-screen p-4">
<main className="container mx-auto flex flex-col items-center justify-center min-h-screen p-4">
<h1 className="text-5xl md:text-[5rem] leading-normal font-extrabold text-gray-700">
Create <span className="text-purple-300">T3</span> App
</h1>
Expand Down
2 changes: 1 addition & 1 deletion template/page-studs/index/with-tw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Home: NextPage = () => {
<link rel="icon" href="/favicon.ico" />
</Head>

<main className="container mx-auto flex flex-col items-center justify-center h-screen p-4">
<main className="container mx-auto flex flex-col items-center justify-center min-h-screen p-4">
<h1 className="text-5xl md:text-[5rem] leading-normal font-extrabold text-gray-700">
Create <span className="text-purple-300">T3</span> App
</h1>
Expand Down

0 comments on commit 19d97ff

Please sign in to comment.