Skip to content

Commit 1ed5afc

Browse files
committed
chore: default false expanded state and render full content on expand
1 parent 6475eca commit 1ed5afc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/lib/components/quib.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
const authStore = createAuthStore(),
1717
viewStore = createViewStore();
1818
19-
let is_expanded = $state(is_valid(quib.content));
19+
let is_expanded = $state(false);
2020
2121
const is_upvoted = $derived.by(check_if_upvoted);
2222
function check_if_upvoted() {
@@ -40,7 +40,7 @@
4040

4141
{#snippet content_or_cover()}
4242
{#if is_valid(quib.content)}
43-
<p class="line-clamp-3 text-sm font-normal">
43+
<p class="text-sm font-normal">
4444
{quib.content}
4545
</p>
4646
{:else}

0 commit comments

Comments
 (0)