Improve live list height (fix #2211)

This commit is contained in:
the1812 2022-03-12 20:39:38 +08:00
parent 3c0dfc480b
commit 68a37782bf
3 changed files with 13 additions and 8 deletions

View 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);
}
}

View File

@ -1,9 +1,7 @@
@import "common";
@import "../feeds-panel-shared";
.live-up-list {
max-height: calc(100vh - 380px);
body.feeds-filter-side-block-profile & {
max-height: calc(100vh - 180px);
}
@include no-scrollbar();
.live-detail[data-live-title] {
color: black;

View File

@ -42,13 +42,11 @@
margin-left: calc(var(--left-width) + 16px + var(--center-width)) !important;
}
.live-panel .live-up-list {
max-height: calc(100vh - 380px);
overflow: auto;
@include no-scrollbar();
body.feeds-filter-side-block-profile & {
max-height: calc(100vh - 180px);
}
}
@import "../feeds-panel-shared";
.adaptive-scroll {
min-height: unset !important;
.scroll-content {