correction bande blanche cover etape

This commit is contained in:
Valentin Le Moign 2025-08-26 16:50:43 +02:00
parent c5c1456e80
commit d91e74f61e
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<header :class="{ 'not-etape': contentType !== 'etape' }">
<div v-if="contentType === 'etape'" class="cover" :style="{ backgroundColor: `${couleur.substring(0, 7)}99`, aspectRatio: '3 / 2' }">
<div v-if="contentType === 'etape'" class="cover" :style="{ backgroundColor: `${couleur.substring(0, 7)}99` }">
<img v-if="!loading && content.vignette" :src="content.vignette.url.medium" :alt="content.vignette.alt">
</div>
<div v-if="contentType === 'etape' && content.dates" class="cartouche" :style="{ backgroundColor: couleur }">

View File

@ -808,6 +808,7 @@ body{
grid-template-rows: auto auto auto auto;
> .cover {
grid-row: 1 / span 1;
min-height: 150px;
max-height: 60vh;
display: flex;
justify-content: center;