Sources
+Sources
- {source.title} +
+ {source.text}
++ {source.source && source.source !== 'local' + ? source.source + : source.title} +
+Answer
+Answer
- {`${index + 1}. ${source.title}`} -
+ ++ {`${index + 1}. ${source.title}`} +
+ {source.source && source.source !== 'local' ? ( +{source.text}
diff --git a/frontend/src/index.css b/frontend/src/index.css index 3b78e9de..6ae4b762 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -437,7 +437,7 @@ template { .ellipsis-text { overflow: hidden; display: -webkit-box; - -webkit-line-clamp: 4; + -webkit-line-clamp: 3; -webkit-box-orient: vertical; text-overflow: ellipsis; }