remove tabs animation

This commit is contained in:
isUnknown 2024-03-09 15:10:51 +01:00
parent ed81ac26d2
commit 0f5b73fa4e

View file

@ -21,15 +21,11 @@ $left['slug'] = Str::slug($left['label']);
</div> </div>
<div class="active-tab"> <div class="active-tab">
<section <section
x-show="activeTab === '<?=$left['slug'] ?>'" x-show="activeTab === '<?=$left['slug'] ?>'">
x-transition.opacity
x-transition.duration.500ms>
<?= $left['content'] ?> <?= $left['content'] ?>
</section> </section>
<ul <ul
x-show="activeTab === 'texts'" x-show="activeTab === 'texts'">
x-transition.opacity
x-transition.duration.500ms>
<?php foreach($kirby->collection('years') as $year): ?> <?php foreach($kirby->collection('years') as $year): ?>
<div class="article__year | full-width flex bottom" style="--content: center;--bottom:2"> <div class="article__year | full-width flex bottom" style="--content: center;--bottom:2">
<h3 class="fs-xl color" style="--color:var(--color-secondary)"><?= $year->title() ?></h3> <h3 class="fs-xl color" style="--color:var(--color-secondary)"><?= $year->title() ?></h3>