Revert "fix mdsidenav"

This reverts commit 9abe1f242f.
This commit is contained in:
Pablo Henrique Penha Silva 2017-06-19 13:08:18 -03:00
parent 558f3a4dd0
commit 1e0178ceb3
2 changed files with 11 additions and 1 deletions

View file

@ -229,6 +229,7 @@
flex-flow: column nowrap;
flex: 1;
transition: $swift-ease-out;
@media (min-width: 1281px) {
padding-left: $sizebar-size;
}
@ -240,10 +241,11 @@
display: flex;
flex-flow: column;
overflow: hidden;
@media (min-width: 1281px) {
top: 0;
pointer-events: auto;
transform: translate3d(0, 0, 0) !important;
transform: translate3d(0, 0, 0);
box-shadow: $material-shadow-2dp;
}
}
@ -262,6 +264,7 @@
.vue-material-logo {
font-size: 24px;
a {
width: 100%;
display: flex;
@ -270,11 +273,13 @@
align-items: center;
color: inherit;
text-decoration: none;
&:hover {
color: inherit;
text-decoration: none;
}
}
img {
width: 160px;
margin-bottom: 16px;
@ -330,9 +335,11 @@
top: 0;
right: 0;
left: 0;
@media (min-width: 1281px) {
left: $sizebar-size;
}
.main-content {
opacity: 0;
overflow: hidden;
@ -348,6 +355,7 @@
.md-router-enter {
z-index: 2;
transition: $swift-ease-out;
.main-content {
transform: translate3D(0, 10%, 0);
}
@ -361,6 +369,7 @@
display: inline-block;
border-radius: 2px;
font-family: "Operator Mono", "Fira Code", Menlo, Hack, "Roboto Mono", "Liberation Mono", Monaco, monospace;
pre {
margin: 8px 0;
}

View file

@ -15,6 +15,7 @@
.md-sidenav-content,
.md-sidenav-backdrop {
position: fixed;
transform: initial;
}
}