Override the tailwind typography inline code styles (#11)
This commit is contained in:
parent
7e9650c403
commit
6057aa1898
|
|
@ -5,3 +5,9 @@
|
|||
.kdl-section {
|
||||
@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: {
|
||||
DEFAULT: {
|
||||
css: {
|
||||
"code::before": {
|
||||
content: "none",
|
||||
},
|
||||
"code::after": {
|
||||
content: "none",
|
||||
},
|
||||
"pre code::after": {
|
||||
content: "none",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue