Fixes tag selector toggling via hotkey leaving gray area. Closes #1629
This commit is contained in:
parent
8b4bb62efc
commit
8bd35ee0d4
2 changed files with 5 additions and 6 deletions
|
@ -1089,7 +1089,7 @@ var ZoteroPane = new function()
|
||||||
|
|
||||||
|
|
||||||
this.toggleTagSelector = Zotero.Promise.coroutine(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';
|
var showing = tagSelector.getAttribute('collapsed') == 'true';
|
||||||
tagSelector.setAttribute('collapsed', !showing);
|
tagSelector.setAttribute('collapsed', !showing);
|
||||||
|
|
|
@ -80,13 +80,12 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#zotero-tag-selector-container[collapsed=true] {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
#zotero-tag-selector {
|
#zotero-tag-selector {
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
#zotero-tag-selector[collapsed=true] {
|
|
||||||
visibility: collapse;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue