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

Fix the header for smaller displays - Closes #389 #396

Merged
merged 1 commit into from
Jun 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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