diff --git a/admin/css/style.css b/admin/css/style.css index f7546146..6bc8fb0b 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1159,7 +1159,7 @@ a.operate-reply { /* 编辑器全屏 */ .fullscreen #wmd-button-bar, .fullscreen #text, .fullscreen #wmd-preview, .fullscreen .submit { - position: fixed; + position: absolute; top: 0; width: 50%; background: #FFF; @@ -1184,7 +1184,6 @@ a.operate-reply { -o-border-radius: 0; border-radius: 0; } .fullscreen #wmd-preview { - position: absolute; top: 53px; right: 0; padding: 5px 20px; @@ -1194,7 +1193,6 @@ a.operate-reply { .fullscreen #wmd-preview code, .fullscreen #wmd-preview pre { background: #F0F0EC; } .fullscreen .submit { - z-index: 1000; right: 0; margin: 0; padding: 10px 20px; diff --git a/admin/scss/components/_editor.scss b/admin/scss/components/_editor.scss index 26d57828..3f563943 100644 --- a/admin/scss/components/_editor.scss +++ b/admin/scss/components/_editor.scss @@ -107,7 +107,8 @@ /* 编辑器全屏 */ .fullscreen { #wmd-button-bar, #text, #wmd-preview, .submit { - position: fixed; + // position: fixed; + position: absolute; top: 0; width: 50%; background: #FFF; @@ -129,7 +130,6 @@ @include border-radius(0); } #wmd-preview { - position: absolute; top: 53px; right: 0; padding: 5px 20px; @@ -141,7 +141,6 @@ } } .submit { - z-index: 1000; right: 0; margin: 0; padding: 10px 20px;