summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Nguyen <remyabel@gmail.com>2019-03-12 22:13:56 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-13 14:25:57 -0400
commit3bb8bce4b85d4277b17551a2f3d6a78e40ead5f6 (patch)
treef1acc6c9574e5784d2317e9075e5f2a774d730a2
parenta7a046c933c75e8a61c13b165f6bcf0b0096f672 (diff)
Move TOC to top of page for mobile users
Thanks to the power of flex, we can reverse the order of columns for certain viewports. Fixes #12
-rw-r--r--mansrht/templates/content.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/mansrht/templates/content.html b/mansrht/templates/content.html
index 0ea5dd2..f14dbff 100644
--- a/mansrht/templates/content.html
+++ b/mansrht/templates/content.html
@@ -8,7 +8,7 @@
{% endblock %}
{% block content %}
<div class="container">
- <div class="row">
+ <div class="row flex-column-reverse flex-md-row">
<div class="col-md-7">
{{ content }}
</div>