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>
|
||||||
<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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue