Removed info channels from overview. Fixed poster gap.

This commit is contained in:
2024-06-12 17:09:53 +02:00
parent bfe6dc866d
commit 41d6324c28
13 changed files with 302 additions and 99 deletions

View File

@@ -1,5 +1,10 @@
<template>
<div class="pagination-container">
<Campaign
v-if="campaigns?.pagination"
:campaign="campaigns.pagination"
/>
<div
v-if="currentPage === pageTotal && total > env.maxMatches"
class="more"
@@ -89,6 +94,8 @@
import { computed, inject } from 'vue';
import { parse } from 'path-to-regexp';
import Campaign from '#/components/campaigns/campaign.vue';
const props = defineProps({
page: {
type: Number,
@@ -117,7 +124,6 @@ const props = defineProps({
});
const emit = defineEmits(['navigation']);
const pageContext = inject('pageContext');
const {
@@ -125,6 +131,7 @@ const {
urlParsed,
pageProps,
env,
campaigns,
} = pageContext;
const currentPage = computed(() => props.page || Number(routeParams?.page));
@@ -203,6 +210,7 @@ function getPath(page) {
.pagination-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
@@ -286,6 +294,12 @@ function getPath(page) {
font-size: 1.1rem;
}
.campaign {
max-width: 100%;
max-height: 6rem;
padding: 0 1rem;
}
@media (--small-30) {
.pagination {
height: 4.5rem;