Files
euchre_camp/src/app/layout.tsx
T
david 6fd273c16c
Pull Request / unit-tests (pull_request) Successful in 58s
Pull Request / e2e-tests (pull_request) Failing after 3m3s
Pull Request / analyze-bump-type (pull_request) Has been skipped
fix: prevent content overflow on right side of screen
Fixes #23

- Added overflow-x-hidden to body in root layout as defensive measure
- Changed table containers from overflow-hidden to overflow-x-auto
  in admin/players page and RankingsClient (3 tables)
- Added min-w-0 and overflow-hidden to Navigation flex containers
  to prevent links from pushing content off screen
- Added flex-shrink-0 to EuchreCamp wordmark link
2026-04-26 20:02:57 -07:00

34 lines
806 B
TypeScript

import type { Metadata } from "next";
import "./globals.css";
import { SessionProvider } from "@/components/SessionProvider";
import Footer from "@/components/Footer";
const inter = {
variable: "--font-inter",
};
export const metadata: Metadata = {
title: "EuchreCamp - Tournament Management & Partnership Analytics",
description: "Track your Euchre games, tournaments, and partnership performance",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${inter.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col overflow-x-hidden">
<SessionProvider>
{children}
<Footer />
</SessionProvider>
</body>
</html>
);
}