aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--css/common/footer.css7
-rw-r--r--css/common/misc.css7
2 files changed, 14 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;
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;
+}