From afab138efac38bb7712b0197e63f1333d8e30dd1 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Sat, 14 Aug 2021 12:21:37 +0100 Subject: [PATCH] Improved codemirror style. --- static/css/codemirror.css | 3 +-- static/index.html | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/static/css/codemirror.css b/static/css/codemirror.css index f9c9972..b3f1d64 100644 --- a/static/css/codemirror.css +++ b/static/css/codemirror.css @@ -4,7 +4,7 @@ background-color: transparent; position: absolute; left: 25px; top: 75px; padding: 12px; - border: solid 1px transparent; + border: 0px; border-radius: 5px; line-height: 1.1em; font-family: monospace; @@ -18,7 +18,6 @@ .CodeMirror:hover { background-color:rgba(0,0,0,.5); - border: solid 1px rgba(128,128,128,.4); } .CodeMirror-scroll { diff --git a/static/index.html b/static/index.html index 3ba3066..2743872 100755 --- a/static/index.html +++ b/static/index.html @@ -796,8 +796,8 @@ void main( void ) { isMaxHeight = ((resizer.currentHeight === resizer.maxHeight) || (resizer.currentHeight === resizer.minHeight)); resizer.isResizing = false; - resizer.maxWidth = window.innerWidth - 75; - resizer.maxHeight = window.innerHeight - 125; + resizer.maxWidth = window.innerWidth - 52; + resizer.maxHeight = window.innerHeight - 100; if (isMaxWidth || (resizer.currentWidth > resizer.maxWidth)) { resizer.currentWidth = resizer.maxWidth; }