Skip to content

Commit 363617e

Browse files
authored
Sticky sidebar fix (#12)
* Remove svelte-spotlight package * Copy spotlight component from svelte-spotlight and fix * Fix exception-handler text typo * Remove old exception handler file I've renamed this file to correct filename exception-handler.md in my branch, i.e. removed the double dot. This was probably brought back through merging the PR, so removing it again since it causes a double Exception Handler entry in the sidebar
1 parent e6ba8c1 commit 363617e

File tree

7 files changed

+460
-124
lines changed

7 files changed

+460
-124
lines changed

package-lock.json

Lines changed: 1 addition & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"type": "module",
5656
"dependencies": {
5757
"flexsearch": "^0.7.31",
58-
"marked": "^4.2.2",
59-
"svelte-spotlight": "^1.0.4"
58+
"marked": "^4.2.2"
6059
}
6160
}

src/lib/search/client/components/SearchModal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import SvelteSpotlight from 'svelte-spotlight/SvelteSpotlight.svelte';
2+
import SvelteSpotlight from './spotlight/SvelteSpotlight.svelte';
33
import { createEventDispatcher } from 'svelte';
44
import type { SearchResult } from '../../types';
55

0 commit comments

Comments
 (0)