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

Commit

Permalink
Fixing menu on mobile devices #90
Browse files Browse the repository at this point in the history
  • Loading branch information
daveredfern committed Sep 13, 2016
1 parent 7405b69 commit 178830b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/scss/chopchop-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

.cc-header {
position: fixed;
bottom: 0;
top: 100%;
transform: translateY(-100%);
left: 0;
right: 0;
z-index: 999;
Expand All @@ -31,7 +32,7 @@

> * {
display: inline-block;
padding: 3px 10px;
padding: 6px 12px;
}
}

Expand Down Expand Up @@ -125,15 +126,15 @@
top: 0;
bottom: 0;
width: 200px;
transform: translateX(-100%);
left: -100%;
z-index: 998;
background-color: color(grey,darker);
padding: 20px 10px;
padding-bottom: 46px;
color: color(grey,lighter);

&.is-active {
transform: translateX(0);
left: 0;
}

ol {
Expand Down Expand Up @@ -242,6 +243,7 @@

.has-cc-nav-active .cc-main-content {
margin-left: 200px;
overflow: hidden;
}


Expand Down

0 comments on commit 178830b

Please sign in to comment.