Skip to content

Commit e6f08b4

Browse files
committed
break all
1 parent b6b14d3 commit e6f08b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/search/testimony/TestimonyHit.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ const TestimonyResult = ({ hit }: { hit: Hit<Testimony> }) => {
111111
<h6 style={{ color: "var(--bs-blue)", fontWeight: 600 }}>
112112
{bill?.content.Title}
113113
</h6>
114-
<p>"{trimContent(hit.content, 500)}"</p>
114+
<p style={{ wordBreak: "break-all" }}>
115+
"{trimContent(hit.content, 500)}"
116+
</p>
115117
<div style={{ display: "flex", justifyContent: "space-between" }}>
116118
{/* {hit.content.trim().length > 0 && <a className="w-20">Read More</a>} */}
117119
<span style={{ marginLeft: "auto" }}>{`Posted ${date}`}</span>

0 commit comments

Comments
 (0)