Merge pull request dart-lang/markdown#138 from srawlins/fix-overflow
Fix overflow in example views
diff --git a/pkgs/markdown/example/index.html b/pkgs/markdown/example/index.html
index 5eb83fe..e82dd75 100644
--- a/pkgs/markdown/example/index.html
+++ b/pkgs/markdown/example/index.html
@@ -35,7 +35,7 @@
<div class="toolbar">
<h2>HTML</h2>
</div>
- <div style="padding: 8px;" id="html"></div>
+ <div id="html"></div>
</div>
</div>
</div>
diff --git a/pkgs/markdown/example/style.css b/pkgs/markdown/example/style.css
index 0131847..bcdfe00 100644
--- a/pkgs/markdown/example/style.css
+++ b/pkgs/markdown/example/style.css
@@ -96,7 +96,7 @@
font-family: "Roboto Mono",monospace;
font-size: 100%;
line-height: 26px;
- overflow: hidden;
+ overflow: auto;
padding: 2px 2px 1px;
width: 100%;
}
@@ -107,3 +107,8 @@
outline: 0;
padding-bottom: 0;
}
+
+#html {
+ overflow: auto;
+ padding: 8px;
+}