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

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

Issue 1309223002: Allow script insets to scroll. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 5 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
« no previous file with comments | « runtime/observatory/lib/src/elements/debugger.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/script_inset.html
diff --git a/runtime/observatory/lib/src/elements/script_inset.html b/runtime/observatory/lib/src/elements/script_inset.html
index 167816dc61157a8e5eb34686eaed45b8f5fb93f8..b3f6cd592b23fca37f6304740f6f0aa1ac02d24d 100644
--- a/runtime/observatory/lib/src/elements/script_inset.html
+++ b/runtime/observatory/lib/src/elements/script_inset.html
@@ -14,24 +14,24 @@
.sourceInset {
}
.sourceTable {
- display: table;
background-color: #f5f5f5;
border: 1px solid #ccc;
padding: 10px;
width: 100%;
box-sizing: border-box;
+ overflow-x: scroll;
}
.sourceRow {
- display: table-row;
+ display: flex;
+ flex-direction: row;
+ width: 100%;
}
.sourceItem, .sourceItemCurrent {
- display: table-cell;
vertical-align: top;
font: 400 14px consolas, courier, monospace;
line-height: 125%;
white-space: pre;
max-width: 0;
- overflow-x: hidden;
}
.currentLine {
background-color: #fff;
@@ -43,7 +43,8 @@
display: table-cell;
vertical-align: top;
font: 400 14px consolas, courier, monospace;
- width: 4em;
+ margin-left: 5px;
+ margin-right: 5px;
text-align: right;
color: #a8a8a8;
}
« no previous file with comments | « runtime/observatory/lib/src/elements/debugger.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698