fix: color style issue of code block in post content snapshot page (#5982)

#### What type of PR is this?

/area ui
/kind bug
/milestone 2.16.x

#### What this PR does / why we need it:

修复在文章版本历史内容预览中代码块颜色显示异常的问题。

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/5845

#### Does this PR introduce a user-facing change?

```release-note
修复在文章版本历史内容预览中代码块颜色显示异常的问题。
```
pull/5984/head
Ryan Wang 2024-05-24 13:02:50 +08:00 committed by GitHub
parent c1e8bdb568
commit 69c3a63618
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ const { data: snapshot, isLoading } = useQuery({
margin: 0;
code {
color: #ccc;
background: none;
font-size: 0.8rem;
padding: 0 !important;