Skip to content

Commit

Permalink
fix(v2): add rounded corners in code blocks properly (#2533)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Apr 5, 2020
1 parent 61ea998 commit 7bc7241
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

.codeBlock {
overflow: auto;
border-radius: var(--ifm-global-radius);
}

.codeBlockWithTitle {
Expand Down Expand Up @@ -56,7 +57,6 @@
}

.codeBlockLines {
border-radius: var(--ifm-global-radius);
font-family: var(--ifm-font-family-monospace);
font-size: inherit;
line-height: var(--ifm-pre-line-height);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.mdxCodeBlock {
position: relative;
border-radius: var(--ifm-global-radius);
margin-bottom: var(--ifm-leading);
font-size: var(--ifm-code-font-size);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

.codeBlock {
overflow: auto;
border-radius: var(--ifm-global-radius);
}

.codeBlockWithTitle {
Expand Down Expand Up @@ -56,7 +57,6 @@
}

.codeBlockLines {
border-radius: var(--ifm-global-radius);
font-family: var(--ifm-font-family-monospace);
font-size: inherit;
line-height: var(--ifm-pre-line-height);
Expand Down

0 comments on commit 7bc7241

Please sign in to comment.