From 17aeb2f5e4503fbe3412cdf2bc09fdc46115733d Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Tue, 8 Nov 2016 17:29:05 -0800 Subject: [PATCH] fix transparency bug for sidebar in mobile (#6764) --- dev/bots/docs.sh | 3 +-- dev/docs/styles.html | 14 ++++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh index 7871b73f5f9..40af981496b 100755 --- a/dev/bots/docs.sh +++ b/dev/bots/docs.sh @@ -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) diff --git a/dev/docs/styles.html b/dev/docs/styles.html index 0f9b87e97e2..67fb401664c 100644 --- a/dev/docs/styles.html +++ b/dev/docs/styles.html @@ -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;