summaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-12-16 17:00:28 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-12-16 17:22:09 +0100
commita743872d30d72dfdc230cd72a1f529edd82e691e (patch)
tree2fa549efc379e7749ad3ecb6fdfea2b3c8275fcd /src/main/resources/templates
parent533e6d4ca0764c3d74329cbe8c470957a51a278b (diff)
Make navigation in portrait mode more finger-friendly again.
Change-Id: I30c20e67c61259d6029055800db3131eeeeb0e46
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/tags/navbar.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/resources/templates/tags/navbar.html b/src/main/resources/templates/tags/navbar.html
index 565675e..17a25dd 100644
--- a/src/main/resources/templates/tags/navbar.html
+++ b/src/main/resources/templates/tags/navbar.html
@@ -2,6 +2,7 @@
<ol>
<li class='{#if siteSection == "All Posts"}this-page{/} submenu' data-site-section="All Posts">
+ <a href="/posts" class="portrait-only" aria-hidden="true" style="position: absolute; width: 100%; z-index: 0">Posts</a>
<a href="/posts">Posts</a>
<ol class="submenu">
<li class='{#if siteSection == "Bookmarks"}this-page{/}' data-site-section="Bookmarks"><a href="/bookmarks">Bookmarks</a></li>
@@ -24,7 +25,7 @@
</li>
{#else}
<li class='{#if siteSection == "Login"}this-page{/} login-box logged-out' data-site-section="Login">
- <div class="login-text">Not logged in.</div>
+ <div class="login-text landscape-only">Not logged in.</div>
<a href="/login">Log In</a>
</li>
{/if}