diff --git a/src/lib/components/documents/DocumentListItem.svelte b/src/lib/components/documents/DocumentListItem.svelte index 3418085b..ff8a480e 100644 --- a/src/lib/components/documents/DocumentListItem.svelte +++ b/src/lib/components/documents/DocumentListItem.svelte @@ -252,10 +252,10 @@ If we're in an embed, we want to open links to documents in new tabs and hide th width: 100%; } - .fullDescription { + /* .fullDescription { line-clamp: unset; -webkit-line-clamp: unset; - } + } */ .access { flex: 0 0 auto; diff --git a/src/lib/components/documents/ResultsList.svelte b/src/lib/components/documents/ResultsList.svelte index e7662631..2628906a 100644 --- a/src/lib/components/documents/ResultsList.svelte +++ b/src/lib/components/documents/ResultsList.svelte @@ -7,6 +7,11 @@ type Writable, } from "svelte/store"; + import { + defaultVisibleFields, + type VisibleFields, + } from "./VisibleFields.svelte"; + // IDs might be strings or numbers, depending on the API endpoint // enforce type consistency here to avoid comparison bugs later export const visible: Writable> = writable(new Map()); @@ -43,10 +48,7 @@ import { Search24 } from "svelte-octicons"; import Button from "../common/Button.svelte"; - import DocumentListItem, { - defaultVisibleFields, - type VisibleFields, - } from "./DocumentListItem.svelte"; + import DocumentListItem from "./DocumentListItem.svelte"; import Empty from "../common/Empty.svelte"; import Flex from "../common/Flex.svelte"; import NoteHighlights from "./NoteHighlights.svelte"; diff --git a/src/lib/components/documents/stories/DocumentListItem.stories.svelte b/src/lib/components/documents/stories/DocumentListItem.stories.svelte index f9dcae03..c1388d3a 100644 --- a/src/lib/components/documents/stories/DocumentListItem.stories.svelte +++ b/src/lib/components/documents/stories/DocumentListItem.stories.svelte @@ -1,8 +1,7 @@