Skip to content

Commit b877770

Browse files
authored
Merge pull request supabase-community#45 from supabase-community/feat/hide-mobile
feat: hide mobile
2 parents 639712f + 84c99db commit b877770

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apps/postgres-new/components/chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export default function Chat() {
302302
{user ? (
303303
<m.h3
304304
layout
305-
className="text-2xl font-light"
305+
className="text-2xl font-light text-center"
306306
variants={{
307307
hidden: { opacity: 0, y: 10 },
308308
show: { opacity: 1, y: 0 },

apps/postgres-new/components/workspace.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function Workspace({
115115
visibility,
116116
}}
117117
>
118-
<div className="w-full h-full flex flex-col lg:flex-row gap-8">
118+
<div className="w-full h-full hidden lg:flex flex-col lg:flex-row gap-8">
119119
<IDE className="flex-1 h-full p-3 sm:py-6 sm:pl-6">
120120
<Chat />
121121
</IDE>
@@ -125,6 +125,9 @@ export default function Workspace({
125125
</div>
126126
)}
127127
</div>
128+
<div className="w-full h-full flex lg:hidden justify-center items-center p-6 text-center">
129+
Please connect from a laptop or desktop to use postgres.new.
130+
</div>
128131
</WorkspaceContext.Provider>
129132
)
130133
}

0 commit comments

Comments
 (0)