fix: clamp lines

This commit is contained in:
Alejandro Gómez
2025-12-13 16:51:07 +01:00
parent 93ee2ae012
commit 69dd315a35
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ export function Kind1Renderer({ event, depth = 0 }: BaseEventProps) {
pubkey={parentEvent.pubkey}
className="flex-shrink-0 text-accent"
/>
<span className="truncate">
<span className="truncate line-clamp-1">
<RichText event={parentEvent} options={{ showMedia: false }} />
</span>
</div>

View File

@@ -48,7 +48,7 @@ export function Kind9Renderer({ event, depth = 0 }: BaseEventProps) {
pubkey={parentEvent.pubkey}
className="flex-shrink-0 text-accent"
/>
<span className="truncate">
<span className="truncate line-clamp-1">
<RichText event={parentEvent} options={{ showMedia: false }} />
</span>
</div>