From 6eb5a7416412dddcf231c88ca2d3a51b38567cfc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 30 Jun 2017 20:57:52 +0300 Subject: add horizontal scrollbars to
 elements

---
 css/common/footer.css | 7 +++++++
 css/common/misc.css   | 7 +++++++
 2 files changed, 14 insertions(+)

(limited to 'css')

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 
 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;
diff --git a/css/common/misc.css b/css/common/misc.css
index 960e910..33dba8f 100644
--- a/css/common/misc.css
+++ b/css/common/misc.css
@@ -17,3 +17,10 @@ h6 a {
 span.badge {
   margin-left: .5em;
 }
+pre {
+  overflow-x: auto;
+}
+pre code {
+  white-space: pre;
+  word-wrap: normal;
+}
-- 
cgit v1.2.3