chore(css-theme): Tweak to code style
This commit is contained in:
parent
56305ce397
commit
8d8a53eb74
1 changed files with 2 additions and 3 deletions
|
@ -23,8 +23,7 @@ pre[class*='language-'] {
|
||||||
div.gatsby-highlight {
|
div.gatsby-highlight {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
div.react-markdown pre,
|
div.react-markdown pre {
|
||||||
div.gatsby-highlight pre {
|
|
||||||
padding: 1.5rem 1rem;
|
padding: 1.5rem 1rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
@ -104,7 +103,7 @@ pre[class*='language-'] {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
padding: 1.5rem 0;
|
padding: 1.5rem 0.5rem;
|
||||||
}
|
}
|
||||||
.theme-wrapper.dark pre[class*='language-'] {
|
.theme-wrapper.dark pre[class*='language-'] {
|
||||||
border: 1px solid $oc-gray-8;
|
border: 1px solid $oc-gray-8;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue