nav : add subtitle spacing
This commit is contained in:
parent
989f042158
commit
d5d0b29fb0
3 changed files with 3 additions and 3 deletions
|
|
@ -164,7 +164,7 @@ button.see-more {
|
||||||
padding-left: var(--unit--horizontal);
|
padding-left: var(--unit--horizontal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel .text__title h5 {
|
.panel .text__subtitle {
|
||||||
margin-top: calc(var(--unit--vertical) / 4);
|
margin-top: calc(var(--unit--vertical) / 4);
|
||||||
margin-bottom: calc(var(--unit--vertical) / 2);
|
margin-bottom: calc(var(--unit--vertical) / 2);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
class="text__title no-underline">
|
class="text__title no-underline">
|
||||||
<h4><?= $article->title() ?></h4>
|
<h4><?= $article->title() ?></h4>
|
||||||
<?php if ($article->subtitle()->isNotEmpty()): ?>
|
<?php if ($article->subtitle()->isNotEmpty()): ?>
|
||||||
<p><?= $article->subtitle() ?></p>
|
<p class="text__subtitle"><?= $article->subtitle()->inline() ?></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</a>
|
</a>
|
||||||
<div class="text__infos">
|
<div class="text__infos">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
class="text__title no-underline">
|
class="text__title no-underline">
|
||||||
<h4><?= $article->title() ?></h4>
|
<h4><?= $article->title() ?></h4>
|
||||||
<?php if ($article->subtitle()->isNotEmpty()): ?>
|
<?php if ($article->subtitle()->isNotEmpty()): ?>
|
||||||
<p><?= $article->subtitle()->inline() ?></p>
|
<p class="text__subtitle"><?= $article->subtitle()->inline() ?></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</a>
|
</a>
|
||||||
<div class="text__infos">
|
<div class="text__infos">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue