Fix live panel max-height

This commit is contained in:
the1812 2020-10-03 14:20:47 +08:00
parent 9a960de3e2
commit f8ac650596
10 changed files with 14 additions and 14 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -94,7 +94,7 @@
"expand-danmaku.min.js": "B21658C40085AEA8DC49652AE62EB8610BB2EBEAF7A9C9AF69EF3B11E08EEC8D",
"expand-description.min.css": "58C7710A50521B80F7D872BDC4C652610D84C4FABC6874BA66DA37B4F8759224",
"expand-description.min.js": "A56857AD6B1C9F431B233D188E857D30DD5A2EB644986DE32A21280B1B7BC7A7",
"extend-feeds-live.min.css": "3C22AA3BA22548D09BCE693DB4DBCB016C62C329CFB3115D6D33808798F26253",
"extend-feeds-live.min.css": "A11096729EB5EF08646A6671FAA39E3B211D70F95C6FB252B82BABE91AADE893",
"extend-feeds-live.min.js": "AC4C8018F5597536501DC8450F1572D6CF9D417229B84D2FE9A0F32E18942ED6",
"favorites-redirect.min.js": "70D6ECCE0402AA76387D2A3288C1148C60CC88D5378B7A2BDC813F3F78E4EE84",
"feeds-apis.min.js": "1FEB6EAFD6FA6948D6E51F29F5C7B91AF3ADB4C1F20654E9857405F4BD37B722",
@ -107,7 +107,7 @@
"fill-with-comments.min.js": "A32B6D4ADFA29C164F9675E07715EAC0A5CFE0BBB346735DD691BDA2D9F338C3",
"filter-type-switch.vue.min.js": "4463638B9B5A5F8E0979E6A8DD63351D093149DFD31D175D56FB096B5DE82169",
"fix-fullscreen.min.js": "C0628A7CABB4421FCBD7663700EF9965C96F6D79979B9F7523A9F9B0B009C8B6",
"fixed-sidebars.min.js": "409B25F94CD87A1136A77A4F49F83AB933D49D0E5DFD04F883EEA9AE922D923B",
"fixed-sidebars.min.js": "970B90A46183E03618B4B8A70C1820E779ED77BE8E9DBB33CE541670EBBDF51C",
"fold-comment.min.css": "74DF4566EB80AD7078E65E8B68633E05FC41D3B4E47A20D6E415E8A743F35378",
"fold-comment.min.js": "5282612A73F84F24711CB5E03146317239BAE401B0B829F494FD300D26E32223",
"frame-playback.min.css": "45AC8DEBA1DEE2708FB19F8ED72798294A96A341F4FAFAFAFDEAFB79CFB50368",

Binary file not shown.

View File

@ -1 +1 @@
.live-up-list{max-height:calc(100vh - 320px);overflow:auto;scrollbar-width:none!important}.live-up-list::-webkit-scrollbar{height:0!important;width:0!important}.live-up-list .live-detail[data-live-title]{color:#000}body.dark .live-up-list .live-detail[data-live-title]{color:#eee}.live-up-list .live-detail[data-live-title] .up-name{font-size:13px!important;opacity:.6}.live-up-list .live-detail[data-live-title]::before{content:attr(data-live-title);color:#000;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.dark .live-up-list .live-detail[data-live-title]::before{color:#eee}
.live-up-list{max-height:calc(100vh - 380px);overflow:auto;scrollbar-width:none!important}.live-up-list::-webkit-scrollbar{height:0!important;width:0!important}.live-up-list .live-detail[data-live-title]{color:#000}body.dark .live-up-list .live-detail[data-live-title]{color:#eee}.live-up-list .live-detail[data-live-title] .up-name{font-size:13px!important;opacity:.6}.live-up-list .live-detail[data-live-title]::before{content:attr(data-live-title);color:#000;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.dark .live-up-list .live-detail[data-live-title]::before{color:#eee}

View File

@ -1 +1 @@
(()=>{return(n,t)=>{const i=`\n.custom-navbar {\n position: fixed !important;\n}\n.sticky-bar {\n display: none !important;\n}\n.left-panel, .right-panel {\n position: fixed !important;\n}\n.center-panel {\n margin-left: calc(244px + 8px) !important;\n}\n.right-panel {\n margin-left: calc(244px + 16px + 632px) !important;\n}\n.live-panel .live-up-list {\n max-height: calc(100vh - 320px);\n overflow: auto;\n scrollbar-width: none !important;\n}\n.live-panel .live-up-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.adaptive-scroll {\n min-height: unset !important;\n}\n`;const a="fixed-sidebars-style";const e=()=>{if(document.URL.replace(location.search,"")==="https://t.bilibili.com/"){t.applyStyleFromText(i,a);(async()=>{const{disableProfilePopup:n}=await t.importAsync("disable-profile-popup");n()})()}};const o=()=>{dqa("#"+a).forEach(n=>n.remove())};e();return{reload:e,unload:o}}})();
(()=>{return(n,t)=>{const i=`\n.custom-navbar {\n position: fixed !important;\n}\n.sticky-bar {\n display: none !important;\n}\n.left-panel, .right-panel {\n position: fixed !important;\n}\n.center-panel {\n margin-left: calc(244px + 8px) !important;\n}\n.right-panel {\n margin-left: calc(244px + 16px + 632px) !important;\n}\n.live-panel .live-up-list {\n max-height: calc(100vh - 380px);\n overflow: auto;\n scrollbar-width: none !important;\n}\n.live-panel .live-up-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.adaptive-scroll {\n min-height: unset !important;\n}\n`;const a="fixed-sidebars-style";const e=()=>{if(document.URL.replace(location.search,"")==="https://t.bilibili.com/"){t.applyStyleFromText(i,a);(async()=>{const{disableProfilePopup:n}=await t.importAsync("disable-profile-popup");n()})()}};const o=()=>{dqa("#"+a).forEach(n=>n.remove())};e();return{reload:e,unload:o}}})();

View File

@ -1,6 +1,6 @@
@import "../../style/common";
.live-up-list {
max-height: calc(100vh - 320px);
max-height: calc(100vh - 380px);
overflow: auto;
@include no-scrollbar();
.live-detail[data-live-title] {

View File

@ -15,7 +15,7 @@ const style = `
margin-left: calc(244px + 16px + 632px) !important;
}
.live-panel .live-up-list {
max-height: calc(100vh - 320px);
max-height: calc(100vh - 380px);
overflow: auto;
scrollbar-width: none !important;
}