nav : add subtitle spacing

This commit is contained in:
isUnknown 2025-02-07 10:46:52 +01:00
parent 989f042158
commit d5d0b29fb0
3 changed files with 3 additions and 3 deletions

View file

@ -164,7 +164,7 @@ button.see-more {
padding-left: var(--unit--horizontal);
}
.panel .text__title h5 {
.panel .text__subtitle {
margin-top: calc(var(--unit--vertical) / 4);
margin-bottom: calc(var(--unit--vertical) / 2);
}

View file

@ -18,7 +18,7 @@
class="text__title no-underline">
<h4><?= $article->title() ?></h4>
<?php if ($article->subtitle()->isNotEmpty()): ?>
<p><?= $article->subtitle() ?></p>
<p class="text__subtitle"><?= $article->subtitle()->inline() ?></p>
<?php endif ?>
</a>
<div class="text__infos">

View file

@ -37,7 +37,7 @@
class="text__title no-underline">
<h4><?= $article->title() ?></h4>
<?php if ($article->subtitle()->isNotEmpty()): ?>
<p><?= $article->subtitle()->inline() ?></p>
<p class="text__subtitle"><?= $article->subtitle()->inline() ?></p>
<?php endif ?>
</a>
<div class="text__infos">