Skip to content

Commit 17aeb2f

Browse files
authored
fix transparency bug for sidebar in mobile (flutter#6764)
1 parent 5883152 commit 17aeb2f

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

dev/bots/docs.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
set -e
33

44
# Install dartdoc.
5-
# We peg to this version to work around a bug affecting Flutter in 0.9.7+2.
6-
pub global activate dartdoc 0.9.7+1
5+
pub global activate dartdoc 0.9.7+6
76

87
# Generate flutter docs into dev/docs/doc/api/.
98
(cd dev/tools; pub get)

dev/docs/styles.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
font-size: inherit;
5151
}
5252

53+
.sidebar-offcanvas-left {
54+
background-color: #fdfdfd;
55+
}
56+
57+
@media screen and (max-width: 768px) {
58+
.sidebar-offcanvas-left.active {
59+
padding: 10px;
60+
}
61+
}
62+
5363
.sidebar-offcanvas-left ol {
5464
padding: 0 16px 16px 0;
5565
}
@@ -58,10 +68,6 @@
5868
display: none;
5969
}
6070

61-
.sidebar-offcanvas-left {
62-
background-color: inherit;
63-
}
64-
6571
.sidebar-offcanvas-left h5 {
6672
border-bottom: none;
6773
padding: 0 0 16px 0;

0 commit comments

Comments
 (0)