Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Fix the header for smaller displays
Browse files Browse the repository at this point in the history
  • Loading branch information
reyraa committed Jun 13, 2017
1 parent 07c4305 commit ff486bd
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/components/top/top.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,40 @@
top {
// layout
@media (max-width: 768px) {
& > .layout-gt-xs-row {
flex: none;
width: 100%;
display: block;
overflow-x: hidden;
padding: 0 8px;
& > .flex-gt-xs-33 {
flex: none;
width: 100%;
max-width: 100%;
margin-right: 0;
margin-left: 0;

md-card-content {
display: table;
.title {
margin-bottom: 15px;
display: inline-block;
vertical-align: middle;
width: 100px;
margin: 0;
line-height: 70px;
}
.value-wrapper {
display: table-cell;
vertical-align: middle;
.primary {
width: 100%;
}
}
}
}
}
}
.peer {
position: relative;
}
Expand Down Expand Up @@ -42,6 +78,9 @@ top {
height: 51px;
line-height: 51px;
}
@media (max-width: 1280px) {
font-size: 100%;
}
}
.secondary {
color: #5f696e;
Expand Down

0 comments on commit ff486bd

Please sign in to comment.