Fixes tag selector toggling via hotkey leaving gray area. Closes #1629

This commit is contained in:
Adomas Venčkauskas 2019-01-28 16:35:20 +02:00
parent 8b4bb62efc
commit 8bd35ee0d4
2 changed files with 5 additions and 6 deletions

View file

@ -1089,7 +1089,7 @@ var ZoteroPane = new function()
this.toggleTagSelector = Zotero.Promise.coroutine(function* () {
var tagSelector = document.getElementById('zotero-tag-selector');
var tagSelector = document.getElementById('zotero-tag-selector-container');
var showing = tagSelector.getAttribute('collapsed') == 'true';
tagSelector.setAttribute('collapsed', !showing);

View file

@ -80,13 +80,12 @@
display: flex;
}
#zotero-tag-selector-container[collapsed=true] {
visibility: collapse;
}
#zotero-tag-selector {
min-height: 100px;
width: 100%;
display: flex;
}
#zotero-tag-selector[collapsed=true] {
visibility: collapse;
}