fix: prevent content overflow on right side of screen
Pull Request / unit-tests (pull_request) Successful in 1m5s
Release / release (push) Failing after 16s
Pull Request / e2e-tests (pull_request) Failing after 4m7s
Pull Request / analyze-bump-type (pull_request) Has been skipped

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
This commit was merged in pull request #28.
This commit is contained in:
2026-04-26 20:02:57 -07:00
committed by david
parent 48730fcf26
commit ce13bae949
4 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -50,14 +50,14 @@ export default function Navigation() {
<nav className="bg-white shadow-sm">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between h-16">
<div className="flex items-center">
<div className="flex items-center min-w-0 overflow-hidden">
<Link
href="/wordmark-redirect"
className="text-xl font-bold text-gray-900 no-underline"
className="text-xl font-bold text-gray-900 no-underline flex-shrink-0"
>
EuchreCamp
</Link>
<div className="hidden md:ml-6 md:flex md:space-x-8">
<div className="hidden md:ml-6 md:flex md:space-x-8 min-w-0 overflow-hidden">
<Link
href="/rankings"
className="border-transparent text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"
@@ -110,7 +110,7 @@ export default function Navigation() {
)}
</div>
</div>
<div className="flex items-center">
<div className="flex items-center min-w-0 overflow-hidden">
{loading ? (
<div className="text-gray-500">Loading...</div>
) : session ? (