From 18f4ef364159ad569ee2e5f7874631d25a28d9a4 Mon Sep 17 00:00:00 2001 From: fen Date: Wed, 6 Nov 2013 12:08:29 +0800 Subject: [PATCH] =?UTF-8?q?issue=20#56=20=E5=AF=BC=E8=88=AA=E6=94=B9?= =?UTF-8?q?=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 5 ++--- admin/manage-comments.php | 2 +- admin/scss/_header.scss | 5 ++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index 1dca2084..d11ad061 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -346,9 +346,8 @@ button { font-weight: bold; } #typecho-nav-list .child { - display: none; position: absolute; - top: 36px; + top: -9999em; margin: 0; min-width: 160px; max-width: 240px; @@ -357,7 +356,7 @@ button { z-index: 250; } #typecho-nav-list .root:hover .child { - display: block; } + top: 36px; } #typecho-nav-list .child li a { color: #BBB; diff --git a/admin/manage-comments.php b/admin/manage-comments.php index 04311b38..7768ccda 100644 --- a/admin/manage-comments.php +++ b/admin/manage-comments.php @@ -237,7 +237,7 @@ $(document).ready(function () { } else { var form = $('
' - + '

' + + '

' + '

' + '
').insertBefore($('.comment-action', td)); diff --git a/admin/scss/_header.scss b/admin/scss/_header.scss index 4e9d8a8a..ddf02758 100644 --- a/admin/scss/_header.scss +++ b/admin/scss/_header.scss @@ -52,9 +52,8 @@ } #typecho-nav-list .child { - display: none; position: absolute; - top: 36px; + top: -9999em; margin: 0; min-width: 160px; max-width: 240px; @@ -64,7 +63,7 @@ } #typecho-nav-list .root:hover .child { - display: block; + top: 36px; } #typecho-nav-list .child li a {