correction bande blanche cover etape
This commit is contained in:
parent
c5c1456e80
commit
d91e74f61e
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<header :class="{ 'not-etape': contentType !== 'etape' }">
|
<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">
|
<img v-if="!loading && content.vignette" :src="content.vignette.url.medium" :alt="content.vignette.alt">
|
||||||
</div>
|
</div>
|
||||||
<div v-if="contentType === 'etape' && content.dates" class="cartouche" :style="{ backgroundColor: couleur }">
|
<div v-if="contentType === 'etape' && content.dates" class="cartouche" :style="{ backgroundColor: couleur }">
|
||||||
|
@ -808,6 +808,7 @@ body{
|
|||||||
grid-template-rows: auto auto auto auto;
|
grid-template-rows: auto auto auto auto;
|
||||||
> .cover {
|
> .cover {
|
||||||
grid-row: 1 / span 1;
|
grid-row: 1 / span 1;
|
||||||
|
min-height: 150px;
|
||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user