mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-04-21 22:39:14 +00:00
Remove inline CSS backgrounds in a code block
The lines in a `<pre>` code block may slightly overlap. Lower parts of a line can thus be obcured by the next one. This PR removes the background of `<code>` when it's inside a `<pre>` which already has the same background color set.
This commit is contained in:
parent
6bfed5a9e3
commit
c8a394e0ce
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ pre {
|
|||
line-height: 1.35;
|
||||
}
|
||||
|
||||
pre code {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
color: var(--muted-text-color);
|
||||
font-size: 0.8rem;
|
||||
|
|
Loading…
Add table
Reference in a new issue