moved CSS rules so that link lists and ul look identical; adjusted header
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user