diff --git a/frontend/src/components/TopNav.vue b/frontend/src/components/TopNav.vue index 07b5983..3800d8a 100644 --- a/frontend/src/components/TopNav.vue +++ b/frontend/src/components/TopNav.vue @@ -11,6 +11,8 @@ + - -
+
+ +
+ + + + + + + + +
@@ -137,7 +161,7 @@ const health = computed(() => { align-items: center; flex-shrink: 0; } -.fc-nav-actions { +.fc-nav-right { flex: 1 1 0; min-width: 0; display: flex; @@ -145,4 +169,22 @@ const health = computed(() => { justify-content: flex-end; gap: 0.5rem; } +.fc-nav-actions { + display: flex; + align-items: center; + gap: 0.5rem; +} +/* The hamburger only exists on mobile; the inline links carry desktop. */ +.fc-nav-burger { display: none; } + +@media (max-width: 768px) { + .fc-topnav { gap: 0.5rem; padding: 0.6rem 0.75rem; } + /* Fold the link row into the hamburger menu. */ + .fc-links { display: none; } + .fc-nav-burger { display: inline-flex; } +} +@media (max-width: 480px) { + /* Reclaim width on the smallest phones — the glyph alone still brands. */ + .fc-brand__text { display: none; } +} diff --git a/frontend/src/components/gallery/BulkEditorPanel.vue b/frontend/src/components/gallery/BulkEditorPanel.vue index 2f8e11e..e24b335 100644 --- a/frontend/src/components/gallery/BulkEditorPanel.vue +++ b/frontend/src/components/gallery/BulkEditorPanel.vue @@ -186,7 +186,9 @@ async function onDeleteConfirm(token) { diff --git a/frontend/src/components/gallery/GalleryFilterBar.vue b/frontend/src/components/gallery/GalleryFilterBar.vue index f166b89..39c86ac 100644 --- a/frontend/src/components/gallery/GalleryFilterBar.vue +++ b/frontend/src/components/gallery/GalleryFilterBar.vue @@ -258,4 +258,12 @@ function pushFilter(mutate) { .fc-filterbar__search { max-width: 320px; min-width: 200px; } .fc-filterbar__chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .fc-filterbar__sort { max-width: 150px; } + +/* Phones: the search's 200px min-width jams the wrapping bar. Give search its + own full-width row and let sort grow; everything else wraps under it. */ +@media (max-width: 600px) { + .fc-filterbar { gap: 8px; } + .fc-filterbar__search { min-width: 100%; max-width: none; } + .fc-filterbar__sort { max-width: none; flex: 1 1 auto; } +} diff --git a/frontend/src/views/ArtistsView.vue b/frontend/src/views/ArtistsView.vue index b79ca83..3e3c613 100644 --- a/frontend/src/views/ArtistsView.vue +++ b/frontend/src/views/ArtistsView.vue @@ -76,7 +76,9 @@ onMounted(async () => { } .fc-artists__grid { display: grid; - grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); + /* min(440px, 100%) so a card never exceeds the viewport — on phones the + min-track collapses to 100% (single column) instead of overflowing. */ + grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 12px; } .fc-artists__sentinel { diff --git a/frontend/src/views/GalleryView.vue b/frontend/src/views/GalleryView.vue index 62ddd12..fa64033 100644 --- a/frontend/src/views/GalleryView.vue +++ b/frontend/src/views/GalleryView.vue @@ -71,4 +71,9 @@ function openImage(id) { .fc-gallery-layout { flex-direction: column-reverse; } .fc-gallery-layout__sidebar { width: 100%; max-height: 200px; } } +/* Phones: the year/month timeline strip eats vertical space and reads poorly + as a horizontal band — drop it; the gallery scroll is the primary nav here. */ +@media (max-width: 600px) { + .fc-gallery-layout__sidebar { display: none; } +}