Skip to content

Commit

Permalink
修复 因知乎更新导致的 [调整图片最大高度] 比例失常的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
XIU2 committed Sep 4, 2023
1 parent e7ec2e8 commit 0a8dda1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Zhihu-Beautification.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 知乎美化
// @version 1.5.7
// @version 1.5.8
// @author X.I.U
// @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏
// @match *://www.zhihu.com/*
Expand Down Expand Up @@ -236,7 +236,7 @@ html[data-theme="light"] .Button--primary.Button--blue {color: #fff !important;b
header.is-hidden {display: none;}
`,
style_4 = `/* 调整图片最大高度 */
.ztext .content_image, .ztext .origin_image, .GifPlayer img {max-height: 500px;width: auto;}
.ztext .content_image, .ztext .origin_image, .GifPlayer img {max-height: 500px !important;width: auto !important;}
`,
style_darkMode_1 = `/* 暗黑模式(方案 1) */
/* 文字颜色 */
Expand Down

0 comments on commit 0a8dda1

Please sign in to comment.