From 7172d9a14c0cb8f4b1d3f7d10e988e19b2ff27b4 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 3 Aug 2013 17:48:13 +0200 Subject: dont use js for texteditor sizing --- css/style.css | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'css') diff --git a/css/style.css b/css/style.css index 4807b70..09d744d 100644 --- a/css/style.css +++ b/css/style.css @@ -1,10 +1,25 @@ -#editor{ - position: fixed; +#editor { + position: relative; display: block; - top: 6.8em; + top: 0; + left: 0; z-index: 20; + height: 100%; + width: 100%; } -#editor_save{ + +#editor_container{ + position: absolute; + display: block; + top: 0; + left: 0; + padding-top: 38px; + height: 100%; + width: 100%; + box-sizing: border-box; +} + +#editor_save { margin-left: 7px; float: left; } -- cgit v1.2.3