From 9e016aaa5f98e8a283a0adde0b68edeb62e371af Mon Sep 17 00:00:00 2001 From: Humberto Rocha Date: Sun, 26 Feb 2023 02:10:54 -0500 Subject: [PATCH] Fix navigation menu in mobile (#525) --- static/css/style.css | 20 +++++++++--- templates/activities/_menu.html | 43 +++++++++++++++++-------- templates/identity/_menu.html | 13 +++++--- templates/settings/_menu.html | 57 ++++++++++++++++++++++----------- 4 files changed, 93 insertions(+), 40 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 6f2339e..8ad8e57 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -316,6 +316,10 @@ nav { padding: 10px 10px 20px 0; } +nav hr { + display: none; +} + nav h3 { text-transform: uppercase; font-weight: bold; @@ -420,8 +424,6 @@ nav a i { text-align: left; } -.right-column footer a {} - img.emoji { height: var(--emoji-height); vertical-align: baseline; @@ -1745,6 +1747,7 @@ form .post { right: 0; top: var(--md-header-height); overflow-y: auto; + padding-bottom: 60px; } .right-column nav { @@ -1811,8 +1814,13 @@ form .post { padding-right: 0; } + .right-column nav hr { + display: block; + color: var(--color-text-dull); + margin: 20px 10px; + } + .right-column nav a { - font-size: 0; padding: 10px 0 10px 10px; } @@ -1825,8 +1833,12 @@ form .post { justify-content: center; } + .right-column nav a span { + display: none; + } + .right-column h3 { - visibility: hidden; + display: none; } .right-column h2, diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html index 07f750d..2be00cc 100644 --- a/templates/activities/_menu.html +++ b/templates/activities/_menu.html @@ -1,55 +1,70 @@