From d505db13b6f32cd1609832fadc73f50b9d60f943 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 30 Sep 2020 11:38:14 +0800
Subject: [PATCH] update
---
ZhihuEnhanced-Time.user.js | 4 ++--
ZhihuEnhanced-Widescreen.user.js | 11 ++++++++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/ZhihuEnhanced-Time.user.js b/ZhihuEnhanced-Time.user.js
index e59884d..34dfad9 100644
--- a/ZhihuEnhanced-Time.user.js
+++ b/ZhihuEnhanced-Time.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 知乎增强 - 置顶显示发布/编辑时间
-// @version 1.0.0
+// @version 1.0.1
// @description 回答和文章置顶显示发布时间、编辑时间
// @author X.I.U
// @match *://www.zhihu.com/*
@@ -202,7 +202,7 @@ function people()
$(".QuestionInvitation-content").addClass("hide");
$(".QuestionInvitation-content").hide();
- $(".QuestionInvitation-title").html($(".QuestionInvitation-title").text()+'(点击此处展开/折叠)')
+ $(".QuestionInvitation-title").html($(".QuestionInvitation-title").text()+' 展开/折叠')
$(".Topbar").click(function(){
diff --git a/ZhihuEnhanced-Widescreen.user.js b/ZhihuEnhanced-Widescreen.user.js
index 3d120f5..9db2430 100644
--- a/ZhihuEnhanced-Widescreen.user.js
+++ b/ZhihuEnhanced-Widescreen.user.js
@@ -15,6 +15,15 @@
(function() {
var style_Add = document.createElement('style');
- style_Add.innerHTML = '.GlobalSideBar,.Question-sideColumn,.ContentLayout-sideColumn,.SearchSideBar{display:none;}.Topstory-mainColumn,.Question-mainColumn,.ContentLayout-mainColumn,.SearchMain{width: 1000px;}.ImageMessage-ImageView{z-index:999 !important;}';
+ style_Add.innerHTML = `
+.GlobalSideBar,.Question-sideColumn,.ContentLayout-sideColumn,.SearchSideBar {
+ display: none;
+}
+.Topstory-mainColumn,.Question-mainColumn,.ContentLayout-mainColumn,.SearchMain {
+ width: 1000px;
+}
+.ImageMessage-ImageView {
+ z-index: 999 !important;
+}`;
document.head.appendChild(style_Add);
})();
\ No newline at end of file