This commit is contained in:
spaceyuck 2025-12-04 03:04:27 +02:00 committed by GitHub
commit 57c40c5970
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 5 deletions

View file

@ -214,6 +214,10 @@ input[type="range"].zoom-slider {
} }
} }
.sidebar-saved-filter-list-container .saved-filter-list {
max-height: unset;
}
.sidebar-saved-filter-list-container .toolbar { .sidebar-saved-filter-list-container .toolbar {
align-items: center; align-items: center;
display: flex; display: flex;
@ -612,8 +616,6 @@ input[type="range"].zoom-slider {
.sidebar-list-filter ul { .sidebar-list-filter ul {
list-style-type: none; list-style-type: none;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
max-height: 300px;
overflow-y: auto;
// to prevent unnecessary vertical scrollbar // to prevent unnecessary vertical scrollbar
padding-bottom: 0.15rem; padding-bottom: 0.15rem;
padding-inline-start: 0; padding-inline-start: 0;

View file

@ -43,8 +43,8 @@ export const CollapseButton: React.FC<React.PropsWithChildren<IProps>> = (
<Icon icon={open ? faChevronDown : faChevronRight} fixedWidth /> <Icon icon={open ? faChevronDown : faChevronRight} fixedWidth />
<span>{props.text}</span> <span>{props.text}</span>
</Button> </Button>
{props.outsideCollapse}
</div> </div>
{props.outsideCollapse}
<Collapse in={open} {...props.collapseProps}> <Collapse in={open} {...props.collapseProps}>
<div>{props.children}</div> <div>{props.children}</div>
</Collapse> </Collapse>

View file

@ -886,9 +886,11 @@ button.btn.favorite-button {
border-bottom: 1px solid $secondary; border-bottom: 1px solid $secondary;
.collapse-header { .collapse-header {
// background-color: $secondary; background-color: $body-bg;
padding: 0.25rem; padding: 0.25rem;
position: sticky;
top: -0.5rem;
z-index: 1;
.collapse-button { .collapse-button {
font-weight: bold; font-weight: bold;