fix(media): recette XL publications (M4) : <main>, URL longues coupées, couverture recadrée
Racine de l'onglet Publications en <main> (Lighthouse a11y 98 -> 100, la page n'avait pas de repère principal) ; description en overflow-wrap:anywhere (l'URL Calaméo débordait de la carte) ; couverture transition-agricole recadrée hors pictogramme. DESIGN-SYSTEM.md : une ligne sur la carte de publication. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PWGVn3kY4vPBaWF9EFkZbz
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6e4abd7ec8
commit
52cac98e1b
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="media-tab-projets" style="padding: 1.5rem; overflow-y: auto;">
|
||||
<!-- <main> : la page /media n'en avait pas (Lighthouse landmark-one-main) ; l'onglet visuel n'est pas touché. -->
|
||||
<main class="media-tab-projets" style="padding: 1.5rem; overflow-y: auto;">
|
||||
<div style="max-width: 70ch; margin-bottom: 1.5rem;">
|
||||
<h2 style="font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--nav-text);">Publications</h2>
|
||||
<p style="font-size: 0.9rem; line-height: 1.6; color: var(--nav-text);">
|
||||
@@ -37,7 +38,7 @@
|
||||
<p style="margin-top: 2rem; font-size: 0.875rem; color: var(--nav-text-muted);">
|
||||
Tu as un PFE engagé à partager ? <a href="mailto:contact@trans-former.fr" style="color: var(--nav-primary-solid);">Écris-moi</a>.
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@@ -152,6 +153,7 @@ function altDe(p: Projet): string {
|
||||
}
|
||||
.projet-carte__description {
|
||||
flex: 1;
|
||||
overflow-wrap: anywhere;
|
||||
margin-top: 0.25rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5;
|
||||
|
||||
Reference in New Issue
Block a user