aboutsummaryrefslogtreecommitdiff
path: root/css/hack.css
diff options
context:
space:
mode:
authorRory O’Kane <rory@roryokane.com>2020-10-18 16:12:42 -0400
committerGitHub <noreply@github.com>2020-10-18 16:12:42 -0400
commitd0bde192fdf532bcc2e710355fbe0713ec853d64 (patch)
tree3d0dfaa629f4f9b891d8a1dc744afd6e6d1f6d77 /css/hack.css
parenta6db9b65dec79d2f447469ab600ba02b0cfa9be9 (diff)
downloadxesite-d0bde192fdf532bcc2e710355fbe0713ec853d64.tar.xz
xesite-d0bde192fdf532bcc2e710355fbe0713ec853d64.zip
Fix CSS bug where code blocks ended with blank lines in Firefox (#239)
fixes https://github.com/Xe/site/issues/238 Disclaimer: I only tested this with the browser developer tools. I did not rebuild the site or try this CSS change on multiple pages.
Diffstat (limited to 'css/hack.css')
-rw-r--r--css/hack.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/css/hack.css b/css/hack.css
index 5222899..fa32382 100644
--- a/css/hack.css
+++ b/css/hack.css
@@ -297,7 +297,7 @@ a:hover {
}
.hack pre code:after,
.hack pre code:before {
- content: "";
+ display: none;
}
.hack code {
font-weight: 700;