Fix right alignment of search bar
This commit is contained in:
parent
c0f40fac81
commit
516fedc2fe
|
@ -4785,6 +4785,11 @@ var ZoteroPane = new function()
|
||||||
if (collectionsPane.collapsed) {
|
if (collectionsPane.collapsed) {
|
||||||
itemsToolbarWidth -= collectionsToolbar.boxObject.width;
|
itemsToolbarWidth -= collectionsToolbar.boxObject.width;
|
||||||
}
|
}
|
||||||
|
// Not sure why this is necessary, but it keeps the search bar from overflowing into the
|
||||||
|
// right-hand pane
|
||||||
|
else {
|
||||||
|
itemsToolbarWidth -= 8;
|
||||||
|
}
|
||||||
|
|
||||||
itemsToolbar.style.width = itemsToolbarWidth + "px";
|
itemsToolbar.style.width = itemsToolbarWidth + "px";
|
||||||
itemsToolbar.setAttribute("flex", "0");
|
itemsToolbar.setAttribute("flex", "0");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user