diff --git a/Zhihu-Beautification.user.js b/Zhihu-Beautification.user.js index fb536c3..de1b206 100644 --- a/Zhihu-Beautification.user.js +++ b/Zhihu-Beautification.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 知乎美化 -// @version 1.5.18 +// @version 1.5.19 // @author X.I.U // @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏 // @match *://www.zhihu.com/* @@ -212,7 +212,7 @@ html[data-theme=light] .AppHeader-notifications:not([aria-label=通知])>div:fir `, style_widescreenDisplayIndex = `/* 宽屏显示 - 首页 */ .Topstory-mainColumn, .QuestionWaiting-mainColumn {width: inherit !important;} -.Topstory-mainColumn+div,[data-za-detail-view-path-module="RightSideBar"] {display: none !important;} +.Topstory-mainColumn~div,[data-za-detail-view-path-module="RightSideBar"] {display: none !important;} .Topstory-container {width: ${GM_getValue('menu_widescreenDisplayWidth')}px;} @media only screen and (max-width: ${Number(GM_getValue('menu_widescreenDisplayWidth'))+50}px) {.Topstory-container {width: 97% !important;}} `,