Skip to content

Commit

Permalink
Merge pull request #1708 from milvus-io/fix/code-block-style
Browse files Browse the repository at this point in the history
fix: fix multiple code block style
  • Loading branch information
mimoning authored Dec 2, 2024
2 parents 08c8648 + c368093 commit e78b437
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/styles/docsStyle.less
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,10 @@
margin: 20px 0 -16px 0;
overflow-x: auto;

& + p:empty {
margin-bottom: 20px;
}

& ~ pre:has(code:not(.active)[class*='language-']) {
margin-bottom: 0px;
}
Expand Down

0 comments on commit e78b437

Please sign in to comment.