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

Commit 129db06

Browse files
author
Joshua Barnett
committed
Laid out navbar using flex box.
1 parent 941c5dc commit 129db06

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/app/shared/navbar/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</a>
99
<a md-button routerLink="components">Components</a>
1010
<a md-button routerLink="guides">Guides</a>
11-
<a md-button class="pull-right" href="https://github.com/angular/material2" aria-label="GitHub Repository">
11+
<a md-button href="https://github.com/angular/material2" aria-label="GitHub Repository">
1212
<img class="docs-github-logo"
1313
src="../../../assets/img/homepage/github-circle-white-transparent.svg"
1414
alt="GitHub">

src/app/shared/navbar/navbar.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
.docs-navbar {
2+
display: flex;
3+
flex-wrap: wrap;
24
padding: 8px 16px;
5+
6+
> .mat-button {
7+
&:last-child {
8+
margin-left: auto;
9+
}
10+
}
311
}
412

513
.docs-angular-logo {

0 commit comments

Comments
 (0)