categories sort
All checks were successful
Deploy / Deploy to Production (push) Successful in 13s

This commit is contained in:
Julie Blanc 2026-02-25 15:30:25 +01:00
parent ea35cc1e22
commit d9edca5d2c
4 changed files with 7 additions and 11 deletions

View file

@ -100,9 +100,7 @@
background-color: var(--grey-950);
}
.link-block{
z-index: 2000;
}
.keywords-wrapper{
padding-top: calc(var(--spacing)*0.75);
@ -112,6 +110,8 @@
}
}

View file

@ -1614,9 +1614,6 @@ button.sort[data-sort-type=up] .arrow {
border-color: var(--color-txt);
background-color: var(--grey-950);
}
.card--article .link-block {
z-index: 2000;
}
.card--article .keywords-wrapper {
padding-top: calc(var(--spacing) * 0.75);
z-index: 100;

File diff suppressed because one or more lines are too long

View file

@ -18,10 +18,9 @@
<button class="dropdown__trigger sort btn--small no-link"><span class="icon"><?= svg('assets/icons/filter.svg') ?></span><p>Lieux</p></button>
<div class="dropdown__content">
<ul>
<li><button type="button" data-filter="france">France</button></li>
<li><button type="button" data-filter="cisjordanie">Cisjordanie</button></li>
<li><button type="button" data-filter="etats-unis">États-Unis</button></li>
<li><button type="button" data-filter="gaza">Gaza</button></li>
<?php foreach (page('database')->countries()->split() as $cat): ?>
<li><button type="button" data-filter="<?= esc(Str::slug($cat)) ?>"><?= esc($cat) ?></button></li>
<?php endforeach ?>
</ul>
</div>
</div>