Fix following button when logged out

This commit is contained in:
Ben Visness 2024-06-24 13:56:35 -05:00
parent 163eba8475
commit 38cda22be9
3 changed files with 7 additions and 5 deletions

View File

@ -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;

View File

@ -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;

View File

@ -142,7 +142,9 @@
<div class="flex flex-column flex-grow-1 overflow-hidden">
<div id="landing-tabs">
<div class="bb mb2 flex f6">
{{ if .User }}
<div data-tab-button="following" class="tab-button ph3 pv1 pointer">Following</div>
{{ end }}
<div data-tab-button="featured" class="tab-button ph3 pv1 pointer">Featured</div>
<div data-tab-button="recent" class="tab-button ph3 pv1 pointer">Recent</div>
<div data-tab-button="news" class="tab-button ph3 pv1 pointer">News</div>