Skip to content

Commit aa69f84

Browse files
committed
filename to line-clamp-2
1 parent 7c4070f commit aa69f84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/ItemComponent.svelte

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</script>
1414

1515
{#if !hidden}
16-
<div class="!w-full rounded px-2 py-4 sm:px-4 sm:w-56 md:w-44 bg-surface-100 mx-auto">
17-
<div class="w-full overflow-ellipsis line-clamp-1 break-all mb-4">
16+
<div class="w-full rounded px-2 py-4 sm:px-4 sm:w-56 md:w-44 bg-surface-100 mx-auto">
17+
<div class="w-full line-clamp-2 break-all mb-4 leading-4">
1818
<a
1919
class="no-underline text-lg text-tertiary-700 font-semibold"
2020
title={item.desc}
@@ -23,7 +23,7 @@
2323
</a>
2424
</div>
2525
<div class="flex justify-between items-end">
26-
<span class="text-sm text-surface-500">{toDuration(item.modified)}</span>
26+
<span class="text-sm text-surface-500 pr-2">{toDuration(item.modified)}</span>
2727
<button
2828
class="chip variant-outline-error font-normal"
2929
on:click={() => (item.showModal = true)}

0 commit comments

Comments
 (0)