Skip to content

Commit d00da51

Browse files
committed
✨ 支持合集
1 parent cae8777 commit d00da51

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

script.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
let flag = false; //是否已经执行
2727

2828
function modifyCss() {
29+
let styleDom = document.createElement('style');
30+
styleDom.innerHTML = `
31+
.video-episode-card__info-title{
32+
white-space:normal !important;
33+
}
34+
`;
35+
document.head.appendChild(styleDom);
2936
document.querySelectorAll('span.part').forEach(ele => {
3037
ele.style.whiteSpace = 'normal';
3138
ele.style.lineHeight = '20px';

0 commit comments

Comments
 (0)