Skip to content

Commit

Permalink
feat: homepage hide flexible-roll-btn text
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Oct 18, 2024
1 parent f884694 commit 180a56b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 4.0.3

- 新增:首页 隐藏刷新按钮文字提示
- 修复:播放页 视频信息相关功能
- 修复:播放页 展开视频标题
- 优化:拖拽面板性能
Expand Down
9 changes: 8 additions & 1 deletion src/modules/rules/homepage/groups/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ html[homepage-hide-watchlater-pip-button] {
}
}

// 隐藏 刷新
// 隐藏 刷新按钮文字提示
html[homepage-hide-flexible-roll-btn-text] {
.palette-button-wrap .flexible-roll-btn .btn-text {
display: none !important;
}
}

// 隐藏 刷新按钮
html[homepage-hide-flexible-roll-btn] {
.palette-button-wrap .flexible-roll-btn {
display: none !important;
Expand Down
7 changes: 6 additions & 1 deletion src/modules/rules/homepage/groups/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ export const homepageSidebarItems: Item[] = [
id: 'homepage-hide-watchlater-pip-button',
name: '隐藏 稍后再看',
},
{
type: 'switch',
id: 'homepage-hide-flexible-roll-btn-text',
name: '隐藏 刷新按钮 文字提示',
},
{
type: 'switch',
id: 'homepage-hide-flexible-roll-btn',
name: '隐藏 刷新',
name: '隐藏 刷新按钮',
},
{
type: 'switch',
Expand Down

0 comments on commit 180a56b

Please sign in to comment.