fc648a949a
Correctly calculates minimums when window is too small, so it grows when the collection tree is made bigger.
25 lines
569 B
SCSS
25 lines
569 B
SCSS
:is(panel)::part(content) {
|
|
--panel-background: var(--material-toolbar);
|
|
}
|
|
|
|
#main-window {
|
|
min-width: max(var(--width-of-fixed-components) + $min-width-items-pane, $min-width-tabs-deck);
|
|
min-height: 300px;
|
|
}
|
|
|
|
#main-window.stacked {
|
|
min-height: calc(var(--height-of-fixed-components) + $min-height-items-pane + $height-toolbar);
|
|
}
|
|
|
|
#zotero-pane {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
#zotero-pane-stack > hbox {
|
|
// Let window chrome, tabs, and toolbar shrink even when sidebars overflow
|
|
min-width: 0;
|
|
}
|
|
#browser, #zotero-pane-stack, #zotero-trees {
|
|
min-height: 0;
|
|
}
|