From 52708b5d704599bfc51ce26132c6ee06d524d728 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 19 Mar 2024 20:50:50 +0100 Subject: [PATCH] Fixed pagination and scene poster overflowing page on small screens. Fixed back reload interfering with tag page hashes. --- components/actors/tile.vue | 4 +- components/footer/navigation.vue | 2 +- components/header/header.vue | 40 +++++++++++-------- components/pagination/pagination.vue | 11 +++++ components/scenes/scenes.vue | 8 ++-- pages/movies/+Page.vue | 7 ++++ pages/scene/+Page.vue | 59 ++++++++++++++++++++------- pages/stashes/@username/+Page.vue | 2 - pages/tags/+Page.vue | 11 ++++- renderer/+onRenderClient.js | 6 ++- src/scenes.js | 8 ++-- src/tools/manticore-joins.js | 60 ++++++++++++++-------------- 12 files changed, 141 insertions(+), 77 deletions(-) diff --git a/components/actors/tile.vue b/components/actors/tile.vue index 0624893..faf12ef 100644 --- a/components/actors/tile.vue +++ b/components/actors/tile.vue @@ -27,6 +27,7 @@ {{ actor.ageThen }} @@ -139,7 +140,8 @@ defineProps({ } .age-then { - color: var(--shadow-weak-10); + color: var(--grey-light-20); + font-weight: normal; } .country { diff --git a/components/footer/navigation.vue b/components/footer/navigation.vue index ee5ab9f..31ad9c9 100644 --- a/components/footer/navigation.vue +++ b/components/footer/navigation.vue @@ -102,7 +102,7 @@ const activePage = computed(() => pageContext.urlParsed.pathname.split('/')[1]); border-radius: 1.5rem; } -@media(--small-50) { +@media(--small-60) { .nav-item.channels { display: none; } diff --git a/components/header/header.vue b/components/header/header.vue index 48ea9b1..42e3063 100644 --- a/components/header/header.vue +++ b/components/header/header.vue @@ -80,7 +80,10 @@ :triggers="['click']" :prevent-overflow="true" > -
+
diff --git a/components/pagination/pagination.vue b/components/pagination/pagination.vue index 86fbbcb..61b2094 100644 --- a/components/pagination/pagination.vue +++ b/components/pagination/pagination.vue @@ -276,4 +276,15 @@ function getPath(page) { color: var(--shadow-strong-10); font-size: 1.1rem; } + +@media (--small-30) { + .pagination { + height: 4.5rem; + } + + .page { + width: 2rem; + height: 2.5rem; + } +} diff --git a/components/scenes/scenes.vue b/components/scenes/scenes.vue index edfba4e..df89fdf 100644 --- a/components/scenes/scenes.vue +++ b/components/scenes/scenes.vue @@ -57,7 +57,7 @@ v-if="pageStash" :selected="scope === 'stashed'" value="stashed" - >Stashed + >Added