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

Unified Diff: runtime/observatory/lib/src/elements/script_view.html

Issue 1123143002: Make script-insets obey their bounds, and other padding tweaks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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/script_view.html
diff --git a/runtime/observatory/lib/src/elements/script_view.html b/runtime/observatory/lib/src/elements/script_view.html
index a4aa02ddc97d394aaa5657796ee0651338822454..575a1ce57035d492228bc27e2900e1d3f327a206 100644
--- a/runtime/observatory/lib/src/elements/script_view.html
+++ b/runtime/observatory/lib/src/elements/script_view.html
@@ -17,18 +17,13 @@
<nav-refresh callback="{{ refresh }}"></nav-refresh>
</nav-bar>
- <template if="{{ app.locationManager.internalArguments['pos'] == null }}">
- <script-inset id="scriptInset" script="{{ script }}">
- <h1>script {{ script.name }}</h1>
- </script-inset>
- </template>
-
- <template if="{{ app.locationManager.internalArguments['pos'] != null }}">
+ <div class="content-centered-big">
+ <h1>script {{ script.name }}</h1>
+ <hr>
<script-inset id="scriptInset" script="{{ script }}"
currentPos="{{ app.locationManager.internalArguments['pos'] | parseInt }}">
- <h1>script {{ script.name }}</h1>
</script-inset>
- </template>
+ </div>
<view-footer></view-footer>
</template>
« no previous file with comments | « runtime/observatory/lib/src/elements/script_inset.html ('k') | runtime/observatory/lib/src/elements/view_footer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698