Skip to content

Commit

Permalink
feat: homepage move no-interest to bottom #153
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Oct 9, 2024
1 parent adae2e4 commit 243f0df
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 4.0.1

- 新增:首页 移动负反馈按钮至底部 并恢复标题宽度

## 4.0.0

### V4 版本更新说明
Expand Down
17 changes: 16 additions & 1 deletion src/modules/rules/homepage/groups/rcmd.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,22 @@ html[homepage-increase-rcmd-list-font-size] {
}
}

// 隐藏 视频负反馈 恢复标题宽度
// 移动 负反馈按钮 恢复标题宽度
html[homepage-move-no-interest] {
.bili-video-card__info--no-interest {
top: unset !important;
bottom: 0 !important;
}
.bili-video-card__info--bottom {
padding-right: 20px !important;
}
.bili-video-card.enable-no-interest,
.bili-live-card.enable-no-interest {
--title-padding-right: 0;
}
}

// 隐藏 负反馈按钮 恢复标题宽度
html[homepage-hide-no-interest] {
.bili-video-card.enable-no-interest,
.bili-live-card.enable-no-interest {
Expand Down
7 changes: 6 additions & 1 deletion src/modules/rules/homepage/groups/rcmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ export const homepageRcmdItems: Item[] = [
id: 'homepage-increase-rcmd-list-font-size',
name: '增大 视频信息字号',
},
{
type: 'switch',
id: 'homepage-move-no-interest',
name: '移动 负反馈按钮 恢复标题宽度',
},
{
type: 'switch',
id: 'homepage-hide-no-interest',
name: '隐藏 视频负反馈 恢复标题宽度',
name: '隐藏 负反馈按钮 恢复标题宽度',
},
{
type: 'switch',
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig({
userscript: {
name: 'bilibili 页面净化大师',
namespace: 'http://tampermonkey.net/',
version: '4.0.0',
version: '4.0.1',
description:
'净化 B站/哔哩哔哩 页面,支持「精简功能、播放器净化、过滤视频、过滤评论、全站黑白名单」,提供 300+ 功能,定制自己的 B 站',
author: 'festoney8',
Expand Down

0 comments on commit 243f0df

Please sign in to comment.