aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar neonsea <[email protected]>2018-06-02 23:06:22 +0300
committerGravatar Gareth Coles <[email protected]>2018-06-02 21:06:22 +0100
commitb6ea8f8e0c82205676e9cff40c477ff6a1b17523 (patch)
tree25a8b5539b19eed59b9b32038cbed5a99afc4934
parent[Wiki] Fix a CSS dumb (diff)
[Wiki] Prefer horizontal whitespace over vertical (#85)
* [Wiki] Prefer horizontal whitespace over vertical This should fix the issue with the long vertical bar of whitespace under the menu toggle button on mobile, whilst also not breaking centering of content. * [Wiki] Prefer horizontal whitespace over vertical This removes the vertical bar of whitespace under the menu toggle button in favor of a horizontal line on mobile. * Fix indentation error
-rw-r--r--templates/wiki/base.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html
index b34af7ad..316e3d22 100644
--- a/templates/wiki/base.html
+++ b/templates/wiki/base.html
@@ -188,11 +188,13 @@
</li>
</ul>
</div>
- <a class="uk-flex-left uk-flex uk-flex-column uk-background-primary uk-hidden@s uk-hidden@m uk-hidden@l uk-hidden@xl" id="wiki-sidebar-button">
- <div class="uk-flex-center"><i class="uk-icon fa-fw far fa-bars"></i></div>
- </a>
- <div class="uk-section uk-flex uk-flex-column" style="flex-grow: 1; margin: 0 1rem 1rem; width: calc(100% - 6rem)">
- {% block content %}{% endblock %}
+ <div style="width: 100%;">
+ <a class="uk-flex-left uk-flex uk-flex-column uk-background-primary uk-hidden@s uk-hidden@m uk-hidden@l uk-hidden@xl" id="wiki-sidebar-button">
+ <div class="uk-flex-center"><i class="uk-icon fa-fw far fa-bars"></i></div>
+ </a>
+ <div class="uk-section uk-flex uk-flex-column" style="flex-grow: 1; margin: 0 1rem 1rem;">
+ {% block content %}{% endblock %}
+ </div>
</div>
</div>
</div>