style: move sidebar below main content on mobile (#23887)
This commit is contained in:
parent
1832654625
commit
3bafc1abe7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue