Skip to content

Commit

Permalink
[brigadecore#93] mobile layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
flynnduism committed Dec 5, 2017
1 parent b23178e commit d044354
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 6 deletions.
176 changes: 174 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions src/assets/scss/_brigade-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ body {
overflow-x: hidden;
}

// $MinWidth: 1024px;
// $InnerMinWidth: ($MinWidth - 56px);

// html,
// body,
// .grid-frame {
// min-width: $MinWidth;
// overflow-x: scroll;
// }

// .view-wrap {
// min-width: $InnerMinWidth;
// }

h1, h2, h3 {
@include europaBold;
}
Expand Down
61 changes: 59 additions & 2 deletions src/assets/scss/_brigade-mobile.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
@media screen and (max-width: 600px) {

@media screen and (max-width: 1024px) {

.build-list .build-item {
height: auto;
overflow: visible;
list-style: none;

a {
overflow: visible;
padding-left: 45px;

.act-state {
position: absolute;
left: 20px;

&:after {
height: 70px !important;
}
}

&:first-of-type {
.act-state:after {
height: 45px !important;
}
}
}
}

footer {
ul li:first-child {
display: none;
}
}

.build-header {
h1 {
font-size: 1.25rem;
max-width: 55%;

em {
font-size: 1.2rem;
display: inline;
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
}

.build-chart,
.button {
display: none;
}
}
}
Loading

0 comments on commit d044354

Please sign in to comment.