mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Improve live list height (fix #2211)
This commit is contained in:
parent
3c0dfc480b
commit
68a37782bf
9
registry/lib/components/feeds/_feeds-panel-shared.scss
Normal file
9
registry/lib/components/feeds/_feeds-panel-shared.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
.live-up-list {
|
||||||
|
max-height: calc(100vh - 315px);
|
||||||
|
body.enable-feeds-filter & {
|
||||||
|
max-height: calc(100vh - 370px);
|
||||||
|
}
|
||||||
|
body.feeds-filter-side-block-profile & {
|
||||||
|
max-height: calc(100vh - 180px);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,9 +1,7 @@
|
|||||||
@import "common";
|
@import "common";
|
||||||
|
@import "../feeds-panel-shared";
|
||||||
|
|
||||||
.live-up-list {
|
.live-up-list {
|
||||||
max-height: calc(100vh - 380px);
|
|
||||||
body.feeds-filter-side-block-profile & {
|
|
||||||
max-height: calc(100vh - 180px);
|
|
||||||
}
|
|
||||||
@include no-scrollbar();
|
@include no-scrollbar();
|
||||||
.live-detail[data-live-title] {
|
.live-detail[data-live-title] {
|
||||||
color: black;
|
color: black;
|
||||||
|
|||||||
@ -42,13 +42,11 @@
|
|||||||
margin-left: calc(var(--left-width) + 16px + var(--center-width)) !important;
|
margin-left: calc(var(--left-width) + 16px + var(--center-width)) !important;
|
||||||
}
|
}
|
||||||
.live-panel .live-up-list {
|
.live-panel .live-up-list {
|
||||||
max-height: calc(100vh - 380px);
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@include no-scrollbar();
|
@include no-scrollbar();
|
||||||
body.feeds-filter-side-block-profile & {
|
|
||||||
max-height: calc(100vh - 180px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@import "../feeds-panel-shared";
|
||||||
|
|
||||||
.adaptive-scroll {
|
.adaptive-scroll {
|
||||||
min-height: unset !important;
|
min-height: unset !important;
|
||||||
.scroll-content {
|
.scroll-content {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user