chiark / gitweb /
theme: partial fix for the misaligned navbar hamburger icon.
authorVladimír Vondruš <mosra@centrum.cz>
Thu, 24 Aug 2017 09:52:46 +0000 (11:52 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 24 Aug 2017 11:16:27 +0000 (13:16 +0200)
There's still some misalignment in total (left and right border of the
menu items is not on the same line as left and right border of the
text), but that needs a bigger change later.

pelican-theme/templates/base.html

index 81980d0da2b6682df2790ec824c18ee4f783a735..1c4b039ded79e1d3e7dea52253ff375c79b742fc 100644 (file)
@@ -26,8 +26,8 @@
           {%- if SITE_LOGO %}<img src="{{ SITE_LOGO }}" />{% endif -%}
           {{- SITE_LOGO_TEXT -}}
         </a>
-        <a id="m-navbar-show" href="#navigation" title="Show navigation" class="m-col-t-3 m-hide-m m-right">&#9776;</a>
-        <a id="m-navbar-hide" href="#" title="Hide navigation" class="m-col-t-3 m-hide-m m-right">&#9776;</a>
+        <a id="m-navbar-show" href="#navigation" title="Show navigation" class="m-col-t-3 m-hide-m m-text-right">&#9776;</a>
+        <a id="m-navbar-hide" href="#" title="Hide navigation" class="m-col-t-3 m-hide-m m-text-right">&#9776;</a>
         <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
           <div class="m-row">
             <ol class="m-col-t-6 m-col-m-none">