style: move sidebar below main content on mobile (#23887)

This commit is contained in:
Frédéric Péters 2018-05-17 15:21:25 +02:00
parent 1832654625
commit 3bafc1abe7
1 changed files with 8 additions and 0 deletions

View File

@ -288,6 +288,10 @@ div.errornotice {
#main {
display: -ms-flexbox;
display: flex;
@media screen and (max-width: $mobile-limit) {
-ms-flex-direction: column;
flex-direction: column;
}
}
div#main-content {
@ -315,6 +319,10 @@ div#main-content {
margin-right: 1rem;
width: 23rem;
max-width: 23rem;
@media screen and (max-width: $mobile-limit) {
width: auto;
max-width: 100%;
}
color: #666;
position: relative;
}