Skip to content

Commit 0a8dda1

Browse files
committed
修复 因知乎更新导致的 [调整图片最大高度] 比例失常的问题
1 parent e7ec2e8 commit 0a8dda1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Zhihu-Beautification.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 知乎美化
3-
// @version 1.5.7
3+
// @version 1.5.8
44
// @author X.I.U
55
// @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏
66
// @match *://www.zhihu.com/*
@@ -236,7 +236,7 @@ html[data-theme="light"] .Button--primary.Button--blue {color: #fff !important;b
236236
header.is-hidden {display: none;}
237237
`,
238238
style_4 = `/* 调整图片最大高度 */
239-
.ztext .content_image, .ztext .origin_image, .GifPlayer img {max-height: 500px;width: auto;}
239+
.ztext .content_image, .ztext .origin_image, .GifPlayer img {max-height: 500px !important;width: auto !important;}
240240
`,
241241
style_darkMode_1 = `/* 暗黑模式(方案 1) */
242242
/* 文字颜色 */

0 commit comments

Comments
 (0)