Skip to content

Commit

Permalink
fix overflow for line-clamp
Browse files Browse the repository at this point in the history
  • Loading branch information
yuheiy committed Dec 5, 2024
1 parent 4269cfd commit b417d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DetailsList.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Heading = `h${headingLevel}`;
<p
class:list={[
'mt-1 text-sm text-dynamic-muted [hanging-punctuation:allow-end]',
clampDescription && 'line-clamp-3',
clampDescription && 'line-clamp-3 overflow-y-clip overflow-x-visible',
]}
set:html={item.description}
/>
Expand Down

0 comments on commit b417d68

Please sign in to comment.