This commit is contained in:
parent
80efbf3d5f
commit
3d842cb1b7
4 changed files with 12 additions and 2 deletions
|
|
@ -21,6 +21,7 @@
|
|||
transition: all 0.5s var(--curve-sine);
|
||||
z-index: 3;
|
||||
box-sizing: border-box;
|
||||
scroll-behavior: smooth;
|
||||
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
@ -177,6 +178,10 @@ button.see-more {
|
|||
margin-bottom: calc(var(--unit--vertical) * 2);
|
||||
}
|
||||
|
||||
.side-panel__item > a {
|
||||
scroll-margin-top: 9rem;
|
||||
}
|
||||
|
||||
.side-panel__collection--years .text:first-child .text__title {
|
||||
display: inline-block;
|
||||
padding-left: var(--unit--horizontal);
|
||||
|
|
|
|||
|
|
@ -675,6 +675,7 @@ button.toggle.right::before {
|
|||
transition: all 0.5s var(--curve-sine);
|
||||
z-index: 3;
|
||||
box-sizing: border-box;
|
||||
scroll-behavior: smooth;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
|
|
@ -839,6 +840,10 @@ button.see-more {
|
|||
margin-bottom: calc(var(--unit--vertical) * 2);
|
||||
}
|
||||
|
||||
.side-panel__item > a {
|
||||
scroll-margin-top: 9rem;
|
||||
}
|
||||
|
||||
.side-panel__collection--years .text:first-child .text__title {
|
||||
display: inline-block;
|
||||
padding-left: var(--unit--horizontal);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
|||
<ul
|
||||
class="side-panel__collection side-panel__collection--<?= $collection ?><?= e($collection == 'categories', ' hidden') ?>">
|
||||
class="texts side-panel__collection side-panel__collection--<?= $collection ?><?= e($collection == 'categories', ' hidden') ?>">
|
||||
<?php foreach($kirby->collection($collection) as $section): ?>
|
||||
<li class="side-panel__item " x-data='{ isOpen: false }'>
|
||||
<a class="no-underline" href="#<?= $section->slug() ?>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue