Skip to content

Commit

Permalink
Improve rendering of foundation link on small devices (#1752)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicdoe authored and marswong committed Jul 28, 2018
1 parent 63c3b9c commit 55e5f62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion layouts/css/page-modules/_header.styl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ header

// Special format for external 'Foundation' link in main navigation
.nav-foundation
margin-left 8px
background-color #026e00

&:before
Expand Down Expand Up @@ -62,13 +61,18 @@ header
a:active
padding 0 8px

.nav-foundation
margin-left 8px

@media screen and (max-width: 480px)
header
li
width 50%
float left
padding 0
margin 0
nav
margin 0 20px
a,
a:link,
a:active
Expand Down

0 comments on commit 55e5f62

Please sign in to comment.