Frio: Fix aside in mobile view

Aside is fixed to cover page, without the need to scroll back top to see it.
This commit is contained in:
fabrixxm 2017-04-22 20:34:52 +02:00
parent 0f67934e05
commit 5b731a60ae
1 changed files with 14 additions and 0 deletions

View File

@ -100,6 +100,20 @@ code {
}
.help-content-wrapper code {display: inline}
/**
* mobile aside
*/
@media screen and (max-width: 990px) {
aside{
position: fixed!important;
top: 0!important;
background-color: #fff;
width: 100%;
height: 100%;
padding-top: 100px;
z-index: 10;
}
}
/*
* standard page elements
*/