fix transparency bug for sidebar in mobile (#6764)

This commit is contained in:
Seth Ladd 2016-11-08 17:29:05 -08:00 committed by GitHub
parent 5883152bf1
commit 17aeb2f5e4
2 changed files with 11 additions and 6 deletions

View File

@ -2,8 +2,7 @@
set -e
# Install dartdoc.
# We peg to this version to work around a bug affecting Flutter in 0.9.7+2.
pub global activate dartdoc 0.9.7+1
pub global activate dartdoc 0.9.7+6
# Generate flutter docs into dev/docs/doc/api/.
(cd dev/tools; pub get)

View File

@ -50,6 +50,16 @@
font-size: inherit;
}
.sidebar-offcanvas-left {
background-color: #fdfdfd;
}
@media screen and (max-width: 768px) {
.sidebar-offcanvas-left.active {
padding: 10px;
}
}
.sidebar-offcanvas-left ol {
padding: 0 16px 16px 0;
}
@ -58,10 +68,6 @@
display: none;
}
.sidebar-offcanvas-left {
background-color: inherit;
}
.sidebar-offcanvas-left h5 {
border-bottom: none;
padding: 0 0 16px 0;