From b2bc054039f2739f67261d7106226b521c3e7844 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 1 Sep 2015 11:05:56 +0200 Subject: fix texteditor sizing --- css/style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'css') diff --git a/css/style.css b/css/style.css index 92d84ce..836df57 100644 --- a/css/style.css +++ b/css/style.css @@ -12,10 +12,6 @@ z-index: 1000; } -#editor div.ace_gutter, #editor div.ace_scroller { - margin-top: 46px; -} - #editor div.ace_gutter { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; opacity: .2; @@ -28,9 +24,12 @@ width: 100%; overflow: hidden; min-height: 440px; + position: relative; } #editor_wrap { + box-sizing: border-box; + padding-top: 46px; position: absolute; top: 0; height: 100%; -- cgit v1.2.3