diff --git a/lib/resources/styles.css b/lib/resources/styles.css index f06b221a9b..88e6f9e40b 100644 --- a/lib/resources/styles.css +++ b/lib/resources/styles.css @@ -17,11 +17,13 @@ body { padding: 0; height: 100%; } + body { display: flex; flex-direction: column; min-height: 100vh; } + header { flex: 0 0 56px; display: flex; @@ -29,33 +31,36 @@ header { align-items: center; padding-left: 30px; } + header ol { list-style: none; margin: 0; padding: 0; } + header ol li { display: inline; } + header form { display: flex; flex: 1; justify-content: flex-end; padding-right: 30px; - } + footer { flex: 0 0 16px; - display: flex; - justify-content: center; - align-items: center; - padding: 20px; + text-align: center; + padding: 16px 20px; } + main { flex: 1; display: flex; flex-direction: row; } + .sidebar-offcanvas-left { flex: 0 1 195px; overflow-y: scroll; diff --git a/pubspec.yaml b/pubspec.yaml index bd1ce17364..0a8aed27b7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ author: Dart Team description: A documentation generator for Dart. homepage: https://github.com/dart-lang/dartdoc environment: - sdk: '>=1.23.0-dev.11.5 <2.0.0-dev.infinity' + sdk: '>=1.23.0-dev.11.5 <2.0.0' dependencies: analyzer: ^0.30.0 args: ^0.13.0 diff --git a/testing/test_package_docs/static-assets/styles.css b/testing/test_package_docs/static-assets/styles.css index f06b221a9b..88e6f9e40b 100644 --- a/testing/test_package_docs/static-assets/styles.css +++ b/testing/test_package_docs/static-assets/styles.css @@ -17,11 +17,13 @@ body { padding: 0; height: 100%; } + body { display: flex; flex-direction: column; min-height: 100vh; } + header { flex: 0 0 56px; display: flex; @@ -29,33 +31,36 @@ header { align-items: center; padding-left: 30px; } + header ol { list-style: none; margin: 0; padding: 0; } + header ol li { display: inline; } + header form { display: flex; flex: 1; justify-content: flex-end; padding-right: 30px; - } + footer { flex: 0 0 16px; - display: flex; - justify-content: center; - align-items: center; - padding: 20px; + text-align: center; + padding: 16px 20px; } + main { flex: 1; display: flex; flex-direction: row; } + .sidebar-offcanvas-left { flex: 0 1 195px; overflow-y: scroll;