summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-04-23 19:54:46 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-04-23 19:56:27 -0600
commitaa15dc46cf74c69c7dd3309d958b71addd6b6465 (patch)
tree92ce190a9eab95fac7b02ac56b4e348dedcda67b /public
parenta8c0a47402506f74d358a091a47173cd9b42b0c3 (diff)
Revert "Fuss with the CSS to make Firefox for Android happy"
This reverts commit 079efbc10b5e8c89e4f87b017ffa02e9d32aefb3.
Diffstat (limited to 'public')
-rw-r--r--public/assets/style.css22
1 files changed, 2 insertions, 20 deletions
diff --git a/public/assets/style.css b/public/assets/style.css
index f345dc1..1033f57 100644
--- a/public/assets/style.css
+++ b/public/assets/style.css
@@ -30,28 +30,10 @@ li p + ul { margin-top: -1em; }
kbd, code, samp, tt, pre {
background: #DDDDFF;
-}
-kbd, code, samp, tt, {
- white-space: pre-wrap;
-}
-@media screen {
- /* Firefox for Android does weird hacks with font-size. In
- * particular, `white-space: pre` is broken on Firefox for
- * Android if you don't set an absolute font-size. So this is
- * a hack to get reasonable behavior without setting
- * `white-space: pre`. */
- pre {
- white-space: pre-wrap;
- overflow-x: auto;
- }
- pre > code {
- white-space: pre-wrap;
- display: block;
- min-width: max-content;
- }
+ white-space: pre;
}
@media print {
- pre, pre > code {
+ kbd, code, samp, tt, pre {
white-space: pre-wrap;
}
}