fix: Projects vertical spacing

This commit is contained in:
Timothée Goguely 2025-01-09 14:13:21 +01:00
parent f30a6536d0
commit f0dec81150
3 changed files with 34 additions and 33 deletions

View file

@ -14,6 +14,7 @@
font-family: var(--font-serif); font-family: var(--font-serif);
font-size: var(--text-lg); font-size: var(--text-lg);
margin-bottom: var(--space-8); margin-bottom: var(--space-8);
position: initial;
} }
.project-item p { .project-item p {
font-size: var(--text-sm); font-size: var(--text-sm);

View file

@ -71,9 +71,6 @@ section {
--flow-space: var(--space-16); --flow-space: var(--space-16);
min-height: calc(100vh - 8.5rem); min-height: calc(100vh - 8.5rem);
} }
section > * {
display: block;
}
section:empty::after { section:empty::after {
content: "Aucun projet pour le moment."; content: "Aucun projet pour le moment.";
position: absolute; position: absolute;

View file

@ -1,10 +1,14 @@
<template> <template>
<router-link
:to="isEmptyBrief(project) ? project.uri + '/client-brief' : project.uri"
>
<article class="project-item | flex | rounded-2xl | px-32 py-32"> <article class="project-item | flex | rounded-2xl | px-32 py-32">
<hgroup> <hgroup>
<h3>{{ project.title }}</h3> <h3>
<router-link
:to="isEmptyBrief(project) ? project.uri + '/client-brief' : project.uri"
class="link-full"
>
{{ project.title }}
</router-link>
</h3>
<p> <p>
Dernière mise à jour le Dernière mise à jour le
<time :datetime="project.modified">{{ <time :datetime="project.modified">{{
@ -29,7 +33,6 @@
</li> </li>
</ol> </ol>
</article> </article>
</router-link>
</template> </template>
<script setup> <script setup>