style: fix overflow home page

This commit is contained in:
Thomas Bishop 2025-11-21 12:54:33 +00:00
parent f89dbfab03
commit 4d3567287a
2 changed files with 9 additions and 7 deletions

View file

@ -5,7 +5,7 @@ export default function Home() {
<> <>
<MainTemplate pageTitle="Home"> <MainTemplate pageTitle="Home">
<div className="flex-1 flex flex-col overflow-auto"> <div className="flex-1 flex flex-col overflow-auto">
<div className="@container/main flex flex-col"> <div className="@container/main flex flex-col mb-4">
<div className="p-4 lg:p-6 flex flex-1"> <div className="p-4 lg:p-6 flex flex-1">
<div className="border w-full"> <div className="border w-full">
<div className="border-b py-2 px-4 lg:px-6 bg-sidebar"> <div className="border-b py-2 px-4 lg:px-6 bg-sidebar">
@ -13,17 +13,19 @@ export default function Home() {
</div> </div>
<div className="p-4 lg:p-6"> <div className="p-4 lg:p-6">
<p className="leading-7 [&:not(:first-child)]:mt-6 font-normal"> <p className="leading-7 [&:not(:first-child)]:mt-6 font-normal">
Hi,{" "} Eólas is my technical knowledge management system, or "second-brain",
comprising notes from the study of software engineering and computer
science.
</p>
<p className="leading-7 [&:not(:first-child)]:mt-6 font-normal">
<a <a
className="text-foreground underline-offset-3 font-medium underline hover:text-gray-700 dark:hover:text-green-300" className="text-foreground underline-offset-3 font-medium underline hover:text-gray-700 dark:hover:text-green-300"
href="https://systemsobscure.blog/about" href="https://systemsobscure.blog/about"
target="_blank" target="_blank"
> >
I'm Thomas Who am I?
</a> </a>
, Eólas is my technical knowledge management system, or
"second-brain", comprising notes from the study of software
engineering and computer science.{" "}
</p> </p>
</div> </div>
</div> </div>

View file

@ -10,7 +10,7 @@ export default function MainTemplate({ children, pageTitle }) {
<AppSidebar /> <AppSidebar />
<SidebarInset className="flex flex-col h-screen"> <SidebarInset className="flex flex-col h-screen">
<AppHeader pageTitle={pageTitle} /> <AppHeader pageTitle={pageTitle} />
<main className="flex-1 overflow-hidden">{children}</main> <main className="flex-1 overflow-x-auto">{children}</main>
</SidebarInset> </SidebarInset>
</SidebarProvider> </SidebarProvider>
</ThemeProvider> </ThemeProvider>