Remove top Pagepadding on small screens

This commit is contained in:
James Grugett 2022-07-11 19:07:37 -05:00
parent b8d7c2ee17
commit 0882f1c0d6
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ export function Page(props: {
<Sidebar className="sticky top-0 hidden divide-gray-300 self-start pl-2 lg:col-span-2 lg:block" /> <Sidebar className="sticky top-0 hidden divide-gray-300 self-start pl-2 lg:col-span-2 lg:block" />
<main <main
className={clsx( className={clsx(
'pt-6 lg:col-span-8', 'lg:col-span-8 lg:pt-6',
rightSidebar ? 'xl:col-span-7' : 'xl:col-span-8' rightSidebar ? 'xl:col-span-7' : 'xl:col-span-8'
)} )}
> >

View File

@ -47,7 +47,7 @@ export default function Notifications() {
if (!user) return <Custom404 /> if (!user) return <Custom404 />
return ( return (
<Page> <Page>
<div className={'px-2 sm:px-4'}> <div className={'px-2 pt-4 sm:px-4 lg:pt-0'}>
<Title text={'Notifications'} className={'hidden md:block'} /> <Title text={'Notifications'} className={'hidden md:block'} />
<div> <div>
<Tabs <Tabs