diff options
| author | yyamashita <yyamashita@mosquit.one> | 2026-05-07 22:51:40 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@mosquit.one> | 2026-05-07 22:51:40 +0900 |
| commit | 747e0007e0f1fe5cae9d9645d8b9c334f3698645 (patch) | |
| tree | bedeb831728a707674088f652cd3c50d2750ee35 /app/routes/events.$id.tsx | |
| parent | 5c317d8a75cd398719b1e14d50ac95ecf5dafd02 (diff) | |
Fix mobile layout for iPhone-sized viewports
- Stack header vertically on mobile (flex-col sm:flex-row) to prevent logo+nav overflow
- Hide venue and price columns in list/row views on mobile to give title room
- Shrink date/time columns on mobile (w-24 sm:w-32, w-20 sm:w-28)
- Make keyword filter input full-width on mobile (w-full sm:w-52)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/routes/events.$id.tsx')
| -rw-r--r-- | app/routes/events.$id.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/routes/events.$id.tsx b/app/routes/events.$id.tsx index cecb282..4a84308 100644 --- a/app/routes/events.$id.tsx +++ b/app/routes/events.$id.tsx @@ -15,11 +15,11 @@ export default function EventDetail() { return ( <div className="min-h-screen bg-gray-950 text-gray-100"> - <header className="border-b border-gray-800 px-6 py-4 flex items-center justify-between"> + <header className="border-b border-gray-800 px-4 sm:px-6 py-3 sm:py-4 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2 sm:gap-0"> <Link to="/" className="text-xl font-bold tracking-tight text-white"> - πΈ ζ±δΊ¬γ©γ€γγγ¦γΉ + πΈ γ©γ€γγ«θ‘γγγγͺγ </Link> - <nav className="flex gap-6 text-sm text-gray-400"> + <nav className="flex gap-4 sm:gap-6 text-sm text-gray-400"> <Link to="/events" className="hover:text-white transition-colors">γ€γγ³γ</Link> <Link to="/venues" className="hover:text-white transition-colors">δΌε ΄δΈθ¦§</Link> </nav> @@ -35,7 +35,7 @@ export default function EventDetail() { <img src={event.image_url} alt={event.title} - className="w-full max-h-72 object-cover rounded-xl mb-6" + className="w-full object-contain rounded-xl mb-6" /> )} |
