moved CSS rules so that link lists and ul look identical; adjusted header

This commit is contained in:
2026-01-21 17:42:59 +01:00
parent 01feb485bf
commit df73da9ae2
14 changed files with 271 additions and 302 deletions

View File

@@ -2,9 +2,9 @@
import {onMount} from 'svelte';
let {
disableStickyScrolling,
stickyScrolling,
}: {
disableStickyScrolling?: boolean;
stickyScrolling?: boolean;
} = $props();
let idCounter: number = 0;
@@ -64,12 +64,12 @@
}
</script>
{#if disableStickyScrolling}
<div class="toc-container notched" bind:this={root}>
{#if stickyScrolling}
<div class="toc-container notched sticky-toc" bind:this={root}>
{@render tocList()}
</div>
{:else}
<div class="toc-container notched sticky-toc" bind:this={root}>
<div class="toc-container notched" bind:this={root}>
{@render tocList()}
</div>
{/if}