|
|
@@ -129,6 +129,8 @@ function truncateText(html: string, maxLength: number): string {
|
|
|
cursor: pointer;
|
|
|
transition: all 0.2s;
|
|
|
border: 1px solid #f0f0f0;
|
|
|
+ overflow-wrap: break-word;
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
|
.result-card:hover {
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
|
|
|
@@ -186,6 +188,8 @@ function truncateText(html: string, maxLength: number): string {
|
|
|
margin: 0 0 12px;
|
|
|
cursor: pointer;
|
|
|
transition: color 0.2s;
|
|
|
+ overflow-wrap: break-word;
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
|
.result-abstract:hover {
|
|
|
color: #333;
|
|
|
@@ -200,6 +204,7 @@ function truncateText(html: string, maxLength: number): string {
|
|
|
gap: 6px;
|
|
|
margin-bottom: 12px;
|
|
|
flex-wrap: wrap;
|
|
|
+ overflow-wrap: break-word;
|
|
|
}
|
|
|
.custom-tag {
|
|
|
border: 1px solid #d9ecff;
|
|
|
@@ -209,6 +214,8 @@ function truncateText(html: string, maxLength: number): string {
|
|
|
font-size: 12px;
|
|
|
border-radius: 2px;
|
|
|
height: auto;
|
|
|
+ word-break: break-word;
|
|
|
+ overflow-wrap: break-word;
|
|
|
}
|
|
|
.result-actions {
|
|
|
display: flex;
|