mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-16 08:25:14 +02:00
fix(docs-site): reset code block prose styles
This commit is contained in:
parent
838cf84649
commit
81c7e60fef
2 changed files with 21 additions and 3 deletions
|
|
@ -188,6 +188,24 @@ pre {
|
|||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.ktx-code code {
|
||||
display: grid;
|
||||
min-width: max-content;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
background: transparent !important;
|
||||
font-size: inherit !important;
|
||||
line-height: inherit !important;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.ktx-code .line {
|
||||
display: block;
|
||||
min-height: 1.7em;
|
||||
padding-inline: 0 !important;
|
||||
}
|
||||
|
||||
/* Neutralize the outer figure styling that our wrapper now owns */
|
||||
figure:has(> .ktx-code),
|
||||
figure[data-rehype-pretty-code-figure]:has(.ktx-code) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue