From 38cda22be94125d14d84a6d3e84ea37c10344579 Mon Sep 17 00:00:00 2001 From: Ben Visness Date: Mon, 24 Jun 2024 13:56:35 -0500 Subject: [PATCH] Fix following button when logged out --- public/style.css | 4 ++-- src/rawdata/scss/header.css | 4 ++-- src/templates/src/landing.html | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/public/style.css b/public/style.css index 046eab69..dda35f1a 100644 --- a/public/style.css +++ b/public/style.css @@ -8428,7 +8428,7 @@ header.old .submenu > a { } } header { - background-color: var(--bg-3); + background-color: var(--bg-2); border-bottom-style: solid; border-bottom-width: 1px; } @@ -8458,7 +8458,7 @@ header .header-nav .submenu { position: absolute; z-index: 100; min-width: 8rem; - background-color: var(--card-background); + background-color: var(--bg-2); border-style: solid; border-width: 1px; border-top-width: 0; diff --git a/src/rawdata/scss/header.css b/src/rawdata/scss/header.css index 7d4b4eff..d2735b89 100644 --- a/src/rawdata/scss/header.css +++ b/src/rawdata/scss/header.css @@ -114,7 +114,7 @@ header.old { } header { - background-color: var(--bg-3); + background-color: var(--bg-2); border-bottom-style: solid; border-bottom-width: 1px; @@ -151,7 +151,7 @@ header { position: absolute; z-index: 100; min-width: 8rem; - background-color: var(--card-background); + background-color: var(--bg-2); border-style: solid; border-width: 1px; border-top-width: 0; diff --git a/src/templates/src/landing.html b/src/templates/src/landing.html index e510551f..cbdc46d9 100644 --- a/src/templates/src/landing.html +++ b/src/templates/src/landing.html @@ -142,7 +142,9 @@
-
Following
+ {{ if .User }} +
Following
+ {{ end }}
Featured
Recent
News