Skip to content

Commit

Permalink
chore(web): mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
atty303 committed May 31, 2024
1 parent 16f2627 commit 4679ab8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ export default function App() {

return (
<>
<div className="grid grid-cols-1 grid-rows-[auto_1fr] min-h-screen">
<Header version={version} onVersionChange={setVersion} title={title} />
<div className="grid min-h-screen 2xl:hidden">
<PobWindow onFrame={handleFrame} version={version} onTitleChange={setTitle}/>
</div>
<div className="hidden 2xl:grid grid-cols-1 grid-rows-[auto_1fr] min-h-screen">
<Header version={version} onVersionChange={setVersion} title={title}/>

<div className="border-y border-neutral-content">
<PobWindow onFrame={handleFrame} version={version} onTitleChange={setTitle} />
Expand Down

0 comments on commit 4679ab8

Please sign in to comment.