diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/assets/style.css | 22 |
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; } } |