From c0cfe55844ad8a8411b87e65b6b276dd366e4cf2 Mon Sep 17 00:00:00 2001 From: fen Date: Sun, 3 Nov 2013 21:35:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=94=B9=E8=BF=9B=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 4 +--- admin/scss/components/_editor.scss | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) 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;