Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: runtime/observatory/lib/src/elements/nav/bar.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/nav/bar.dart
diff --git a/runtime/observatory/lib/src/elements/nav/bar.dart b/runtime/observatory/lib/src/elements/nav/bar.dart
index 8bb115ea1b34d238d0a586b84eaa5da52d93eb3b..b175ba6a21703f986902bfd8ffeac689b475e3ea 100644
--- a/runtime/observatory/lib/src/elements/nav/bar.dart
+++ b/runtime/observatory/lib/src/elements/nav/bar.dart
@@ -11,8 +11,9 @@ class NavBarElement extends HtmlElement implements Renderable {
static final StyleElement _style = () {
var style = new StyleElement();
style.text = 'nav.nav-bar {'
+ 'line-height: normal;'
'position: fixed;'
- 'top: -56px;'
+ 'top: 0;'
'width: 100%;'
'z-index: 1000;'
'}'
@@ -21,20 +22,12 @@ class NavBarElement extends HtmlElement implements Renderable {
'position: relative;'
'list-style: none;'
'padding-left: 0;'
- 'margin-left: 0;'
+ 'margin: 0;'
'width: 100%;'
'z-index: 1000;'
'font: 400 16px \'Montserrat\', sans-serif;'
'color: white;'
'background-color: #0489c3;'
- '}'
- 'nav.nav-bar:after {'
- 'content: ""; clear: both; display: block;'
- '}'
- 'nav.nav-bar:before {'
- 'height: 40px;'
- 'background-color: #0489c3;'
- 'content: ""; display: block;'
'}';
return style;
}();

Powered by Google App Engine
This is Rietveld 408576698