diff --git a/src/lib/nodes/Anchor.svelte b/src/lib/nodes/Anchor.svelte
index 06842a7..4ccb7e3 100644
--- a/src/lib/nodes/Anchor.svelte
+++ b/src/lib/nodes/Anchor.svelte
@@ -6,6 +6,7 @@
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 0e56966..44f773b 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -35,6 +35,11 @@
function interactive({ type }: (typeof $root)[number]) {
return $visibility[type] && type !== 'text' && type !== 'anchor';
}
+
+ function reset() {
+ background.send('ext/highlight', null);
+ hovered.set(undefined);
+ }
- {
- background.send('ext/highlight', null);
- hovered.set(undefined);
- }}
- >
+
{#each $root as node (node.id)}
{/each}
@@ -161,7 +161,6 @@
ul {
overflow: auto;
- padding-left: 0.5rem;
}
h2 {