feat: Modify the style of the answer card on the search page #2247 (#2412)

### What problem does this PR solve?

feat: Modify the style of the answer card on the search page #2247

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-09-13 12:31:31 +08:00
committed by GitHub
parent 8f2c0176b4
commit 2bd71d722b
6 changed files with 51 additions and 24 deletions

View File

@ -93,13 +93,23 @@
width: 40%;
padding: 20px 10px 10px;
}
.highlightContent {
.multipleLineEllipsis(2);
em {
color: red;
font-style: normal;
}
}
}
.answerWrapper {
background-color: #e6f4ff;
padding: 14px;
margin-top: 16px;
border-radius: 8px;
& > p {
background: rgb(232 242 251 / 70%);
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
:global(.ant-card-head) {
background-color: #e6f4ff;
}
& p {
margin: 0;
}
}