diff --git a/admin/css/style.css b/admin/css/style.css index 0b0a8a88..8bdc31de 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1131,16 +1131,6 @@ a.operate-reply { /* 编辑器全屏 */ .fullscreen #wmd-button-bar { - position: absolute; - top: 38px; - left: 0; - width: 50%; - z-index: 999; - outline: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; } -.fullscreen #text { position: absolute; top: 0; left: 0; @@ -1152,6 +1142,16 @@ a.operate-reply { border-right: 1px solid #D9D9D6; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } +.fullscreen #text { + position: absolute; + top: 38px; + left: 0; + width: 50%; + z-index: 999; + outline: none; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; box-sizing: border-box; -webkit-border-radius: 0; -moz-border-radius: 0; diff --git a/admin/js/markdown.js b/admin/js/markdown.js index 28143fcf..53a0c8a1 100644 --- a/admin/js/markdown.js +++ b/admin/js/markdown.js @@ -4628,7 +4628,7 @@ else buttons.redo = makeButton("wmd-redo-button", redoTitle, "-220px", null); buttons.redo.execute = function (manager) { if (manager) manager.redo(); }; - buttons.fullscreen = makeButton("wmd-fullscreen-button", getString("fullscreen"), "-220px", null); + buttons.fullscreen = makeButton("wmd-fullscreen-button", getString("fullscreen"), "-240px", null); buttons.fullscreen.execute = function (manager) { if (manager) manager.fullscreen(); }; diff --git a/admin/scss/components/_editor.scss b/admin/scss/components/_editor.scss index a7272f13..95d2c4e1 100644 --- a/admin/scss/components/_editor.scss +++ b/admin/scss/components/_editor.scss @@ -90,15 +90,6 @@ /* 编辑器全屏 */ .fullscreen { #wmd-button-bar { - position: absolute; - top: 38px; - left: 0; - width: 50%; - z-index: 999; - outline: none; - @include box-sizing(border-box); - } - #text { position:absolute; top: 0; left: 0; @@ -109,6 +100,15 @@ height: 38px; border-right: 1px solid #D9D9D6; @include box-sizing(border-box); + } + #text { + position: absolute; + top: 38px; + left: 0; + width: 50%; + z-index: 999; + outline: none; + @include box-sizing(border-box); @include border-radius(0); } #wmd-preview {