From 4c786e8b70c3a48f1d57702fa5c3ad1ca55f5eec Mon Sep 17 00:00:00 2001 From: d11e9 Date: Mon, 31 Aug 2015 10:45:45 +0100 Subject: [PATCH] allow editor/output resize --- index.html | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 01b867c4fd..45c1af6f06 100644 --- a/index.html +++ b/index.html @@ -42,9 +42,10 @@ body { #output { border-top: 1px solid #ccc; + background-color: white; position: absolute; top: 18em; - width: 32em; + left: 0; right: 0; bottom: 0px; } @@ -141,6 +142,28 @@ body { border: 0 none; } +#ghostbar { + width: 1px; + background-color: red; + opacity: 0.5; + position: absolute; + cursor: col-resize; + z-index: 9999; + top: 0; + bottom: 0; +} + +#dragbar{ + background-color: transparent; + position: absolute; + width: 5px; + left: 0; + top: 0; + bottom: 0; + cursor: col-resize; + z-index: 999; +} + @@ -220,6 +243,7 @@ body {
+