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

Unified Diff: dart/site/try/src/ui.dart

Issue 269153003: Fix position of error messages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r35883. Created 6 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
« no previous file with comments | « dart/site/try/src/interaction_manager.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/ui.dart
diff --git a/dart/site/try/src/ui.dart b/dart/site/try/src/ui.dart
index 1fefeb8e395b727249a6fb642403599c16387172..d71fddb706f185c409dac5d4656b05db71513e5e 100644
--- a/dart/site/try/src/ui.dart
+++ b/dart/site/try/src/ui.dart
@@ -104,7 +104,7 @@ buildUI() {
buildCode(interaction);
(mainEditorPane = new DivElement())
- ..classes.addAll(['well', 'mainEditorPane'])
+ ..classes.addAll(['mainEditorPane'])
..style.backgroundColor = currentTheme.background.color
..style.color = currentTheme.foreground.color
..style.font = codeFont
@@ -119,7 +119,12 @@ buildUI() {
var inputWrapper = new DivElement()
..append(mainEditorPane)
- ..style.position = 'relative';
+ ..classes.add('well')
+ ..style.padding = '0px'
+ ..style.overflowX = 'hidden'
+ ..style.overflowY = 'scroll'
+ ..style.position = 'relative'
+ ..style.maxHeight = '80vh';
var inputHeader = new DivElement()..appendText('Code');
« no previous file with comments | « dart/site/try/src/interaction_manager.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698