From c7f8391e437560c5f8e627aff304502edb37a2b2 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 17 Mar 2024 23:55:36 +0100 Subject: [PATCH] Hiding header nav bar on small screens. Improved scene and movie tile scaling, added thumbnail placeholder. Added pagination to movies page. --- components/header/header.vue | 13 +++ components/pagination/pagination.vue | 2 +- components/scenes/scenes.vue | 14 ++- components/scenes/tile.vue | 23 ++++- pages/movies/+Page.vue | 130 +++++++++++++++------------ 5 files changed, 120 insertions(+), 62 deletions(-) diff --git a/components/header/header.vue b/components/header/header.vue index 94907b9..26568a1 100644 --- a/components/header/header.vue +++ b/components/header/header.vue @@ -218,6 +218,7 @@ async function logout() { box-shadow: inset 0 0 3px var(--shadow-weak-40); .input { + width: 14rem; padding: .5rem 0 .5rem 1rem; border: none; margin: 0; @@ -317,4 +318,16 @@ async function logout() { fill: var(--error); } } + +@media(--small) { + .search .input { + width: 10rem; + } +} + +@media(--small-10) { + .nav-list { + display: none; + } +} diff --git a/components/pagination/pagination.vue b/components/pagination/pagination.vue index 72cf3d1..d7b6885 100644 --- a/components/pagination/pagination.vue +++ b/components/pagination/pagination.vue @@ -3,7 +3,7 @@
Results are truncated, apply a filter to find more.
+ >Can't find what you're looking for? Narrow down the results using a filter.