Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
πŸ› don't show mobile nav bar when not logged in (#789)
Browse files Browse the repository at this point in the history
closes TryGhost/Ghost#8625
- add CSS rules for the non-authed pages to remove the mobile nav bar
  • Loading branch information
kevinansfield authored and aileen committed Jul 20, 2017
1 parent bbbce8b commit b8c6236
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/styles/layouts/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,21 @@ body > .ember-view:not(.default-liquid-destination) {
width: 15px;
fill: var(--darkgrey);
}

/* non-authed pages shouldn't have the mobile bar */
.ghost-setup .gh-viewport,
.ghost-reset .gh-viewport,
.ghost-signup .gh-viewport,
.ghost-login .gh-viewport {
padding-bottom: 0;
}

.ghost-setup .gh-mobile-nav-bar,
.ghost-reset .gh-mobile-nav-bar,
.ghost-signup .gh-mobile-nav-bar,
.ghost-login .gh-mobile-nav-bar {
display: none;
}
}


Expand Down

0 comments on commit b8c6236

Please sign in to comment.