aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-02 14:58:18 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-02 14:58:18 +0100
commitf97955ebae0c4110e92db4c6b4535d88210d2809 (patch)
treee2cd997441e25d9a6703febddbec8c87a490031a
parent[Wiki] Hide scrollbar on code blocks when not needed (diff)
[Wiki] Attempt to fix width issues on mobile
-rw-r--r--static/style.css4
-rw-r--r--templates/wiki/base.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css
index 8de4707e..a64687ba 100644
--- a/static/style.css
+++ b/static/style.css
@@ -232,6 +232,10 @@ textarea.fira-code {
transition: width ease 1s;
}
+#wiki-page {
+ overflow-x: hidden;
+}
+
#wiki-sidebar-button {
color: white;
height: 3rem;
diff --git a/templates/wiki/base.html b/templates/wiki/base.html
index 9fe4b4e9..185229a8 100644
--- a/templates/wiki/base.html
+++ b/templates/wiki/base.html
@@ -28,7 +28,7 @@
{% endblock %}
</head>
<body class="page-{{ current_page.replace(".", "-") }}">
- <div class="uk-offcanvas-content uk-flex uk-flex-column">
+ <div class="uk-offcanvas-content uk-flex uk-flex-column" id="wiki-page">
{% include "main/navigation.html" %}
<div class="uk-flex uk-flex-row uk-flex-1">
<div class="uk-card uk-card-body uk-flex-left uk-flex uk-card-primary uk-visible@s" id="wiki-sidebar">