Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Laid out navbar using flex box.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Barnett committed Mar 13, 2017
1 parent 941c5dc commit 129db06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/navbar/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</a>
<a md-button routerLink="components">Components</a>
<a md-button routerLink="guides">Guides</a>
<a md-button class="pull-right" href="https://github.com/angular/material2" aria-label="GitHub Repository">
<a md-button href="https://github.com/angular/material2" aria-label="GitHub Repository">
<img class="docs-github-logo"
src="../../../assets/img/homepage/github-circle-white-transparent.svg"
alt="GitHub">
Expand Down
8 changes: 8 additions & 0 deletions src/app/shared/navbar/navbar.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
.docs-navbar {
display: flex;
flex-wrap: wrap;
padding: 8px 16px;

> .mat-button {
&:last-child {
margin-left: auto;
}
}
}

.docs-angular-logo {
Expand Down

0 comments on commit 129db06

Please sign in to comment.