Skip to content

Commit

Permalink
feat(app): enhance responsive footer layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Jan 26, 2018
1 parent 9418e37 commit 422a097
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
<div class="row">
<div class="col-12 signature">
&#169; {{year}} - Tomas Trajan
<br class="d-block d-sm-none">
<a matTooltip="Show changelog"
matTooltipPosition="before"
href="https://github.com/tomastrajan/angular-ngrx-material-starter/blob/master/CHANGELOG.md">
Expand Down
13 changes: 9 additions & 4 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,19 @@ mat-sidenav-container {

@media (max-width: map-get($grid-breakpoints, sm)) {
a {
padding: 20px 5px;
padding: 20px 3px;
}
}
}

.signature {
a {
float: right;
@media (min-width: map-get($grid-breakpoints, sm)) {
.signature {
position: relative;

a {
position: absolute;
right: 15px;
}
}
}
}
Expand Down

0 comments on commit 422a097

Please sign in to comment.