diff --git a/src/app.css b/src/app.css index 20e1021..79655e8 100644 --- a/src/app.css +++ b/src/app.css @@ -60,7 +60,7 @@ /* To scroll columns independently */ main.publication.blog { - @apply min-h-full; + @apply w-full sm:w-auto min-h-full; max-height: calc(100vh - 146px); } @@ -380,7 +380,6 @@ .line-ellipsis { max-width: 100%; - white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } \ No newline at end of file diff --git a/src/lib/components/Publication.svelte b/src/lib/components/Publication.svelte index f8c0360..9d5c228 100644 --- a/src/lib/components/Publication.svelte +++ b/src/lib/components/Publication.svelte @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/src/lib/components/util/Interactions.svelte b/src/lib/components/util/Interactions.svelte index 4263f05..a605c06 100644 --- a/src/lib/components/util/Interactions.svelte +++ b/src/lib/components/util/Interactions.svelte @@ -5,7 +5,7 @@ import { onMount } from "svelte"; import { ndkInstance } from '$lib/ndk'; - const { rootId, event } = $props<{ rootId: String, event: NDKEvent }>(); + const { rootId, event } = $props<{ rootId: string, event: NDKEvent }>(); // Reactive arrays to hold incoming events let likes: NDKEvent[] = [];