diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-06-30 20:57:52 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-06-30 20:57:52 +0300 |
commit | 6eb5a7416412dddcf231c88ca2d3a51b38567cfc (patch) | |
tree | 1dfb8cad4559cc98f47f8dd2f9dd8ec2dfbd22e1 /css/common/footer.css | |
parent | static-vs: namespace { (diff) | |
download | blog-6eb5a7416412dddcf231c88ca2d3a51b38567cfc.tar.gz blog-6eb5a7416412dddcf231c88ca2d3a51b38567cfc.zip |
add horizontal scrollbars to <pre> elements
Diffstat (limited to '')
-rw-r--r-- | css/common/footer.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/css/common/footer.css b/css/common/footer.css index 417b3d9..d3c3884 100644 --- a/css/common/footer.css +++ b/css/common/footer.css @@ -6,6 +6,13 @@ html, body { height: 100%; width: 100%; display: table; + + /* + Without this property, scrollbars inside <pre> elements don't work if + display's width is less than 750px. + God, I hate CSS. + */ + table-layout: fixed; } .footer-wrapper-collapse { display: table-row; |