diff --git a/CHANGELOG.md b/CHANGELOG.md index 77679aa..387fc71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 4.0.8 - 修复:播放页 调节播放器宽度 Firefox页面抖动bug +- 更新:播放页 右列功能适配页面变动 ## 4.0.7 diff --git a/src/modules/rules/video/groups/right.scss b/src/modules/rules/video/groups/right.scss index 261c3cd..3ae99fd 100644 --- a/src/modules/rules/video/groups/right.scss +++ b/src/modules/rules/video/groups/right.scss @@ -91,11 +91,11 @@ html[video-page-hide-right-container-section-height] { .video-sections-content-list, .video-pod__body { height: fit-content !important; - max-height: 350px !important; + max-height: 370px !important; } } -// 隐藏 视频合集 自动连播 +// 隐藏 视频合集 自动连播开关 html[video-page-hide-right-container-section-next-btn] { .base-video-sections-v1 .next-button { display: none !important; @@ -159,13 +159,6 @@ html[video-page-hide-right-container-section-subscribe] { } } -// 隐藏 分P视频 自动连播 -html[video-page-hide-right-container-multi-page-next-btn] { - #multi_page .next-button { - display: none !important; - } -} - // 恢复 分P视频 编号 html[video-page-hide-right-container-multi-page-add-counter] { .video-pod__list.multip.list { diff --git a/src/modules/rules/video/groups/right.ts b/src/modules/rules/video/groups/right.ts index 8ec8236..cb1a9b4 100644 --- a/src/modules/rules/video/groups/right.ts +++ b/src/modules/rules/video/groups/right.ts @@ -31,7 +31,7 @@ export const videoRightItems: Item[] = [ { type: 'switch', id: 'video-page-hide-right-container-reco-list-next-play-next-button', - name: '隐藏 自动连播按钮', + name: '隐藏 自动连播开关', }, { type: 'switch', @@ -40,14 +40,14 @@ export const videoRightItems: Item[] = [ }, { type: 'switch', - id: 'video-page-hide-right-container-section-height', - name: '优化 视频合集列表高度', - defaultEnable: true, + id: 'video-page-hide-right-container-section-next-btn', + name: '隐藏 视频合集 自动连播开关', }, { type: 'switch', - id: 'video-page-hide-right-container-section-next-btn', - name: '隐藏 视频合集 自动连播', + id: 'video-page-hide-right-container-section-height', + name: '优化 视频合集列表高度', + defaultEnable: true, }, { type: 'switch', @@ -65,11 +65,6 @@ export const videoRightItems: Item[] = [ id: 'video-page-hide-right-container-section-subscribe', name: '隐藏 视频合集 订阅合集', }, - { - type: 'switch', - id: 'video-page-hide-right-container-multi-page-next-btn', - name: '隐藏 分P视频 自动连播', - }, { type: 'switch', id: 'video-page-hide-right-container-multi-page-add-counter',