Override the tailwind typography inline code styles (#11)
This commit is contained in:
parent
7e9650c403
commit
6057aa1898
|
|
@ -5,3 +5,9 @@
|
||||||
.kdl-section {
|
.kdl-section {
|
||||||
@apply py-10 px-4 prose prose-xl mx-auto;
|
@apply py-10 px-4 prose prose-xl mx-auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
background-color: #efefef;
|
||||||
|
padding: 0.1em 0.5em;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,12 @@ module.exports = {
|
||||||
typography: {
|
typography: {
|
||||||
DEFAULT: {
|
DEFAULT: {
|
||||||
css: {
|
css: {
|
||||||
|
"code::before": {
|
||||||
|
content: "none",
|
||||||
|
},
|
||||||
|
"code::after": {
|
||||||
|
content: "none",
|
||||||
|
},
|
||||||
"pre code::after": {
|
"pre code::after": {
|
||||||
content: "none",
|
content: "none",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue