### What problem does this PR solve? fix: the content in the chunk card will overflow #1628 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.9.0
| @@ -17,6 +17,9 @@ | |||
| .contentEllipsis { | |||
| .multipleLineEllipsis(3); | |||
| } | |||
| .contentText { | |||
| word-break: break-all; | |||
| } | |||
| .chunkCard { | |||
| width: 100%; | |||
| @@ -81,7 +81,7 @@ const ChunkCard = ({ | |||
| dangerouslySetInnerHTML={{ | |||
| __html: DOMPurify.sanitize(item.content_with_weight), | |||
| }} | |||
| className={classNames({ | |||
| className={classNames(styles.contentText, { | |||
| [styles.contentEllipsis]: textMode === ChunkTextMode.Ellipse, | |||
| })} | |||
| ></div> | |||