Fix panes overflowing in stacked view mode

Fixes #3180
This commit is contained in:
Martynas Bagdonas 2023-07-17 17:07:38 +03:00
parent c425f71ac4
commit e37eaac8d1
3 changed files with 3 additions and 3 deletions

View file

@ -1035,7 +1035,7 @@
</splitter> </splitter>
<!-- itemPane.xul --> <!-- itemPane.xul -->
<vbox id="zotero-item-pane" zotero-persist="width height" height="300"> <vbox id="zotero-item-pane" flex="1" zotero-persist="width height" height="300">
<!-- My Publications --> <!-- My Publications -->
<hbox id="zotero-item-pane-top-buttons-my-publications" class="zotero-item-pane-top-buttons" hidden="true"> <hbox id="zotero-item-pane-top-buttons-my-publications" class="zotero-item-pane-top-buttons" hidden="true">
<button id="zotero-item-collection-show-hide"/> <button id="zotero-item-collection-show-hide"/>

View file

@ -38,6 +38,7 @@
{ {
overflow: auto; overflow: auto;
min-width: 0; min-width: 0;
min-height: 0;
} }
.zotero-view-item:not([selectedIndex="0"]) > tabpanel > * { .zotero-view-item:not([selectedIndex="0"]) > tabpanel > * {

View file

@ -186,13 +186,12 @@
{ {
width: 338px; width: 338px;
min-width: 338px; min-width: 338px;
min-height: 200px;
overflow-y: hidden;
} }
#zotero-layout-switcher #zotero-layout-switcher
{ {
min-width: 560px; min-width: 560px;
height: 0;
} }
.toolbar { .toolbar {