remove tabs animation
This commit is contained in:
parent
ed81ac26d2
commit
0f5b73fa4e
1 changed files with 2 additions and 6 deletions
|
|
@ -21,15 +21,11 @@ $left['slug'] = Str::slug($left['label']);
|
|||
</div>
|
||||
<div class="active-tab">
|
||||
<section
|
||||
x-show="activeTab === '<?=$left['slug'] ?>'"
|
||||
x-transition.opacity
|
||||
x-transition.duration.500ms>
|
||||
x-show="activeTab === '<?=$left['slug'] ?>'">
|
||||
<?= $left['content'] ?>
|
||||
</section>
|
||||
<ul
|
||||
x-show="activeTab === 'texts'"
|
||||
x-transition.opacity
|
||||
x-transition.duration.500ms>
|
||||
x-show="activeTab === 'texts'">
|
||||
<?php foreach($kirby->collection('years') as $year): ?>
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue