overflow auto to preview

This commit is contained in:
Matthew Scragg 2014-09-04 14:47:04 -05:00
parent 7dfec15ae1
commit 1058ce034d

View file

@ -54,15 +54,7 @@ body {
} }
#preview { #preview {
/*
position: absolute;
margin-left: 5px;
left: 50%;
bottom: 10px;
right: 10px;
top: 50px;
overflow: auto; overflow: auto;
*/
position: absolute; position: absolute;
height: auto; height: auto;
top: 0; top: 0;
@ -94,28 +86,6 @@ body {
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
/*
position: absolute;
margin-right: 5px;
top: 50px;
left: 10px;
bottom: 10px;
right: 50%;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-flex: 1;
-moz-box-flex: 1;
-ms-box-flex: 1;
-o-box-flex: 1;
box-flex: 1;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
box-shadow: 0 1px 2px rgba(0,0,0,.15);
*/
font-family: Inconsolata, monospace; font-family: Inconsolata, monospace;
font-size: 1.2em; font-size: 1.2em;
line-height: 1.3em; line-height: 1.3em;