Skip to content

Commit

Permalink
fix: color style issue of code block in post content snapshot page (#…
Browse files Browse the repository at this point in the history
…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 #5845

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

```release-note
修复在文章版本历史内容预览中代码块颜色显示异常的问题。
```
  • Loading branch information
ruibaby committed May 24, 2024
1 parent c1e8bdb commit 69c3a63
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const { data: snapshot, isLoading } = useQuery({
margin: 0;
code {
color: #ccc;
background: none;
font-size: 0.8rem;
padding: 0 !important;
Expand Down

0 comments on commit 69c3a63

Please sign in to comment.