From 7d5ff98f87721a36ac940029480a08fa4cfba2ef Mon Sep 17 00:00:00 2001 From: Spirit Date: Sat, 21 Mar 2020 17:38:05 +0800 Subject: [PATCH] fix: fix the fixes --- js/sakura-app.js | 1 + style.css | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/js/sakura-app.js b/js/sakura-app.js index 98ef975..4c91c90 100644 --- a/js/sakura-app.js +++ b/js/sakura-app.js @@ -1722,6 +1722,7 @@ var home = location.href, $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body'); $('body').on('click', '#comments-navi a', function (e) { e.preventDefault(); + var path = $(this)[0].pathname; $.ajax({ type: "GET", url: $(this).attr('href'), diff --git a/style.css b/style.css index ccc88cb..0286418 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Theme URI: https://github.com/mashirozx/Sakura/ Author: Mashiro, Spirit, Louie, Fuzzz Author URI: http://2heng.xin Description: A wonderful branch of theme Akina -Version: 3.3.6 +Version: 3.3.7 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: sakura @@ -1150,6 +1150,7 @@ a:hover { float: right; animation: searchbox .2s; min-width: 860px; + z-index: -1 } .site-top .lower nav.navbar { right: calc(-50px - 100%); @@ -4728,6 +4729,11 @@ i.iconfont.js-toggle-search.iconsearch { margin-top: 0; padding: 0 } +.wp-smiley { + height: 2em !important; + max-height: 2em !important; + vertical-align: bottom; +} embed, iframe, @@ -7584,6 +7590,11 @@ a.toc-link { } @media (max-width:860px) { + .wp-smiley { + height:20px !important; + max-height:20px !important; + vertical-align:middle + } .bili-container, .tieba-container { padding-left: 0