diff --git a/templates/markdown_editor/markdown_editor.html b/templates/markdown_editor/markdown_editor.html index f1375a8..b62f71f 100644 --- a/templates/markdown_editor/markdown_editor.html +++ b/templates/markdown_editor/markdown_editor.html @@ -5,20 +5,17 @@ main { overflow: hidden; } + #content { + width: 100%; + } + #content.wrapper { + padding: 0; + } .form-area { float: left; width: 47%; - /* height: 604px; */ - /* background-color: #acabab; */ - /* padding: 20px; */ - } - .left-markdown{ - float: left; - width: 47%; - height: 50%; - /* flex: 1; */ - /* background-color: #acabab; */ - padding: 20px; + height: 100% + } .wmd-preview{ float: right; @@ -26,17 +23,13 @@ } .width-controller{ width: 51%; - /* flex: 1; */ + } + .wmd-input { + height: 678px; } .right-markdown{ - /* float: right; */ - /* width: 51%; */ - height: 427px; - /* flex: 1; */ - /* background-color: #6b6b6b; */ + height: 725px; overflow-y: scroll; - /* #f0f0f0; */ - /* padding: 20px; */ } {% endblock %} @@ -57,7 +50,6 @@ }, success: function(data) { $('#display').html(data) - // data sẽ là html nó render, thế vào phần bên phải }, error: function(error) { alert(error); @@ -68,6 +60,21 @@ }); + + @@ -77,21 +84,16 @@ - -