diff --git a/ui/css/editor.css b/ui/css/editor.css index 968fa7b4..9313b292 100755 --- a/ui/css/editor.css +++ b/ui/css/editor.css @@ -1,4 +1,6 @@ .panel { + position: absolute; + display: inline-block; min-width: 200px; max-width: 450px; diff --git a/ui/lib/panels.js b/ui/lib/panels.js index 2aea779f..72a35544 100755 --- a/ui/lib/panels.js +++ b/ui/lib/panels.js @@ -16,11 +16,6 @@ function makePanel(title, open, editable_title){ var panel = $('
') .prop('open', open == null ? true : open) .addClass('panel noScroll') - .css({ - position: 'absolute', - top: '100px', - left: '100px', - }) .append($(''+title+'') .attr({ contenteditable: editable_title == null ? 'false' : 'true', @@ -105,7 +100,5 @@ function makeSubPanel(title, open, parent){ - - /********************************************************************** * vim:set ts=4 sw=4 : */