From 3aa986cd7b8d2313ad14f59e850fca9324d69d14 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 7 Nov 2019 17:54:10 -0500 Subject: [PATCH] add username to expanded menu --- views/header.html | 2 +- views/style.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/views/header.html b/views/header.html index 998cb2f..79ac3e0 100644 --- a/views/header.html +++ b/views/header.html @@ -17,7 +17,7 @@
{{ if .UserInfo }}
-menu +menu {{ .UserInfo.Username }}
  • home
  • @me diff --git a/views/style.css b/views/style.css index 29b0d4d..18b5e0d 100644 --- a/views/style.css +++ b/views/style.css @@ -75,6 +75,12 @@ header > details[open] { margin-bottom: 1em; opacity: 1.0; } +header > details summary span { + display: none; +} +header > details[open] summary span { + display: inline; +} header > details li { margin: 1em 0em 1em 0em; }