diff options
| author | 2025-08-08 09:50:27 +0100 | |
|---|---|---|
| committer | 2025-08-08 10:50:27 +0200 | |
| commit | d1f2e0f6be3de13a36754bb735182e8aad1ebc5f (patch) | |
| tree | 9bd870f519d913c1fe4cdcc6230fbe5f4c329de8 /p/themes/Dark/dark.css | |
| parent | 1f8273803f632b40c260721cb3257ae4e2251f5a (diff) | |
Avoid styling `<code>` inside of `<pre>` (#7797)
* Remove background from <code> inside <pre>
This caused an ugly effect where each line has a seperate background to
the whole pre block.
Fixes #7796
* Add James Frost to CREDITS.md
Diffstat (limited to 'p/themes/Dark/dark.css')
| -rw-r--r-- | p/themes/Dark/dark.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index b2ddf8f2b..4d5d69f2b 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -505,7 +505,9 @@ button.as-link[disabled] { } .content pre code { + background: transparent; color: var(--dark-font-colorA); + border: none; } .content blockquote { |
