mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Updated styles to better fit mobile layout
This commit is contained in:
@@ -76,10 +76,10 @@ const BeerByIdPage: NextPage<BeerPageProps> = ({ beerPost, beerRecommendations }
|
||||
) : (
|
||||
<Tab.Group>
|
||||
<Tab.List className="tabs tabs-boxed items-center justify-center rounded-2xl bg-base-300">
|
||||
<Tab className="tab tab-lg w-1/2 uppercase ui-selected:tab-active">
|
||||
<Tab className="tab tab-md w-1/2 uppercase ui-selected:tab-active">
|
||||
Comments
|
||||
</Tab>
|
||||
<Tab className="tab tab-lg w-1/2 uppercase ui-selected:tab-active">
|
||||
<Tab className="tab tab-md w-1/2 uppercase ui-selected:tab-active">
|
||||
Other Beers
|
||||
</Tab>
|
||||
</Tab.List>
|
||||
|
||||
@@ -39,12 +39,12 @@ const BeerPage: NextPage = () => {
|
||||
</Head>
|
||||
<div className="flex items-center justify-center bg-base-100" ref={pageRef}>
|
||||
<div className="my-10 flex w-11/12 flex-col space-y-4 lg:w-8/12 2xl:w-7/12">
|
||||
<header className="my-10 flex justify-between">
|
||||
<header className="my-10 flex flex-col justify-between lg:flex-row">
|
||||
<div className="space-y-2">
|
||||
<h1 className="text-6xl font-bold">The Biergarten Index</h1>
|
||||
</div>
|
||||
{!!user && (
|
||||
<div>
|
||||
<div className="mt-6 lg:mt-0">
|
||||
<Link href="/beers/create" className="btn-primary btn">
|
||||
Create a new beer post
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user