correction bande blanche cover etape
This commit is contained in:
parent
c5c1456e80
commit
d91e74f61e
@ -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 }">
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user