mirror of
https://code.castopod.org/adaures/castopod
synced 2025-08-26 06:19:27 +00:00
fix(episodes): set dropdown menu for seasons / years to a maximum height with auto scroll
This commit is contained in:
parent
842c4e4b79
commit
f88abd26c8
@ -23,7 +23,7 @@
|
||||
'class' => 'ml-2 text-xl',
|
||||
]) ?>
|
||||
</button>
|
||||
<nav id="episode-lists-dropdown-menu" class="flex flex-col py-2 rounded-lg shadow border-3 border-contrast bg-elevated" aria-labelledby="episode-lists-dropdown" data-dropdown="menu" data-dropdown-placement="bottom-end">
|
||||
<nav id="episode-lists-dropdown-menu" class="flex flex-col py-2 rounded-lg shadow border-3 border-contrast bg-elevated max-h-48 overflow-y-auto" aria-labelledby="episode-lists-dropdown" data-dropdown="menu" data-dropdown-placement="bottom-end">
|
||||
<?php foreach ($episodesNav as $link): ?>
|
||||
<?= anchor(
|
||||
$link['route'],
|
||||
@ -42,8 +42,8 @@
|
||||
<div class="flex flex-col mt-4 gap-y-4">
|
||||
<?php foreach ($episodes as $episode): ?>
|
||||
<?= view('episode/_partials/card', [
|
||||
'episode' => $episode,
|
||||
'podcast' => $podcast,
|
||||
'episode' => $episode,
|
||||
'podcast' => $podcast,
|
||||
]) ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user