mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 18:49:22 +00:00
Merge "Avoid displaying double borders for inline code snippets"
This commit is contained in:
commit
b572c46d8f
|
@ -4,3 +4,13 @@
|
|||
direction: ltr;
|
||||
unicode-bidi: embed;
|
||||
}
|
||||
|
||||
/* Avoid displaying double borders for nested 'code' elements.
|
||||
Before we started using the 'code' tag for inline code snippets,
|
||||
<code><syntaxhighlight enclose=none ...>...</syntaxhighlight></code>
|
||||
was a common pattern. Continue supporting it in existing content. */
|
||||
code code.mw-highlight {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue