mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 11:37:46 +02: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
1 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
'class' => 'ml-2 text-xl',
|
'class' => 'ml-2 text-xl',
|
||||||
]) ?>
|
]) ?>
|
||||||
</button>
|
</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): ?>
|
<?php foreach ($episodesNav as $link): ?>
|
||||||
<?= anchor(
|
<?= anchor(
|
||||||
$link['route'],
|
$link['route'],
|
||||||
|
|
@ -42,8 +42,8 @@
|
||||||
<div class="flex flex-col mt-4 gap-y-4">
|
<div class="flex flex-col mt-4 gap-y-4">
|
||||||
<?php foreach ($episodes as $episode): ?>
|
<?php foreach ($episodes as $episode): ?>
|
||||||
<?= view('episode/_partials/card', [
|
<?= view('episode/_partials/card', [
|
||||||
'episode' => $episode,
|
'episode' => $episode,
|
||||||
'podcast' => $podcast,
|
'podcast' => $podcast,
|
||||||
]) ?>
|
]) ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue