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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/elements/eval_box.html

Issue 532063002: Teach the Observatory about Contexts. Factor out object graph information from the instance view. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/bin/vmservice/observatory/lib/src/elements/eval_box.html
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/eval_box.html b/runtime/bin/vmservice/observatory/lib/src/elements/eval_box.html
index 6461fc22ea28b445b405c707f49597bfd8b3e8d0..b556358ec721fdf3586403115ae520794e3cef86 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/eval_box.html
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/eval_box.html
@@ -7,7 +7,7 @@
<template>
<style>
.textbox {
- width: 80ex;
+ flex-grow: 1;
font: 400 16px 'Montserrat', sans-serif;
}
.bigtextbox {
@@ -18,9 +18,10 @@
}
.radios {
display: inline;
+ padding-right: 30px;
}
.radios label{
- padding-left: 15px;
+ padding-left: 10px;
}
.historyExpr, .historyValue {
vertical-align: text-top;
@@ -42,7 +43,7 @@
padding: 6px 6px;
}
</style>
- <form>
+ <form style="display:flex; flex-direction:row; align-items:flex-end">
<template if="{{ lineMode == '1-line' }}">
<input class="textbox" type="text" value="{{ text }}">
</template>
@@ -53,11 +54,13 @@
<input class="button" type="submit" value="Evaluate" on-click="{{ eval }}">
<div class="radios" on-change="{{ updateLineMode }}">
- <label for="1-line">1-line
+ <label for="1-line">
<input type="radio" name="lineMode" value="1-line" checked>
+ 1-line
</label>
- <label for="N-line">N-line
+ <label for="N-line">
<input type="radio" name="lineMode" value="N-line">
+ N-line
</label>
</div>
</form>

Powered by Google App Engine
This is Rietveld 408576698