Skip to content

Commit

Permalink
update: live page items
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed May 26, 2024
1 parent 2201549 commit 6f36aef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- 新增:稍后再看列表页,双列布局
- 新增:修复字体(直播页、热门页、空间页、稍后再看)
- 更新:直播页净化功能,适配网页变动

## 3.6.1

Expand Down
9 changes: 5 additions & 4 deletions src/rules/live.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ if (isPageLiveRoom()) {
${settings.fontFaceRegular}
body,
.gift-item,
.feed-card {
.feed-card,
.bb-comment, .comment-bilibili-fold {
font-family: PingFang SC, HarmonyOS_Regular, Helvetica Neue, Microsoft YaHei, sans-serif !important;
font-weight: 400;
}
Expand Down Expand Up @@ -444,10 +445,10 @@ if (isPageLiveRoom()) {
defaultStatus: true,
itemCSS: `.flip-view {display: none !important;}`,
}),
// 隐藏 直播间介绍
// 隐藏 直播间推荐
new CheckboxItem({
itemID: 'live-page-room-info-ctnr',
description: '隐藏 直播间介绍',
description: '隐藏 直播间推荐/直播间介绍',
itemCSS: `#sections-vm .room-info-ctnr {display: none !important;}`,
}),
// 隐藏 主播动态
Expand All @@ -460,7 +461,7 @@ if (isPageLiveRoom()) {
new CheckboxItem({
itemID: 'live-page-announcement-cntr',
description: '隐藏 主播公告',
itemCSS: `#sections-vm .announcement-cntr {display: none !important;}`,
itemCSS: `#sections-vm .room-detail-box {display: none !important;}`,
}),
// 隐藏 全部内容
new CheckboxItem({
Expand Down

0 comments on commit 6f36aef

Please sign in to comment.