summaryrefslogtreecommitdiff
path: root/app/routes/events.$id.tsx
diff options
context:
space:
mode:
authoryyamashita <yyamashita@mosquit.one>2026-05-07 22:51:40 +0900
committeryyamashita <yyamashita@mosquit.one>2026-05-07 22:51:40 +0900
commit747e0007e0f1fe5cae9d9645d8b9c334f3698645 (patch)
treebedeb831728a707674088f652cd3c50d2750ee35 /app/routes/events.$id.tsx
parent5c317d8a75cd398719b1e14d50ac95ecf5dafd02 (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.tsx8
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"
/>
)}