hide incremental search textarea, 2a6850c0 fixup

This commit is contained in:
tophf 2020-10-27 13:00:32 +03:00
parent 2747d3930b
commit 74364b9d63

View File

@ -12,6 +12,7 @@ onDOMready().then(() => {
oninput: incrementalSearch, oninput: incrementalSearch,
}); });
replaceInlineStyle({ replaceInlineStyle({
opacity: '0',
position: 'absolute', position: 'absolute',
color: 'transparent', color: 'transparent',
border: '1px solid hsla(180, 100%, 100%, .5)', border: '1px solid hsla(180, 100%, 100%, .5)',
@ -72,6 +73,7 @@ onDOMready().then(() => {
replaceInlineStyle({ replaceInlineStyle({
width: focusedLink.offsetWidth + 'px', width: focusedLink.offsetWidth + 'px',
height: focusedLink.offsetHeight + 'px', height: focusedLink.offsetHeight + 'px',
opacity: '1',
}); });
focusedLink.prepend(input); focusedLink.prepend(input);
return true; return true;