Skip to content

Commit

Permalink
Clean up alignment in nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
cdbartholomew committed Sep 7, 2023
1 parent 34375a5 commit 83eea02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<nav>
<a class="nav-toggle" id="open-nav" href="#">&#9776;</a>
<a class="editor-link btn" href="cloudcannon:collections/_data/navigation.yml" class="btn"><strong>&#9998;</strong> Edit navigation</a>
{% for link in site.data.navigation %}
{% assign class = "" %}
{% if link.highlight %}
Expand Down
2 changes: 0 additions & 2 deletions _sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ header {

.company-name {
font-size: 1.7em;
line-height: 0;

a {
display: inline-block;
}
Expand Down
4 changes: 4 additions & 0 deletions _sass/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ nav {
padding: 10px;
}

& svg {
margin-bottom: -7px
}


&.nav-toggle {
display: inline;
Expand Down

0 comments on commit 83eea02

Please sign in to comment.