Hide find styles link/icons on search
This commit is contained in:
parent
be1d6fa45d
commit
5ecba47e7f
|
@ -740,6 +740,7 @@ body.disabled #disable-all-icon {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#find-styles.hidden,
|
||||||
body.blocked #installed > *,
|
body.blocked #installed > *,
|
||||||
body.blocked #find-styles-wrapper,
|
body.blocked #find-styles-wrapper,
|
||||||
body.blocked #write-style-wrapper {
|
body.blocked #write-style-wrapper {
|
||||||
|
|
|
@ -81,8 +81,8 @@ window.addEventListener('showStyles:done', function _() {
|
||||||
}
|
}
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
this.textContent = this.title;
|
// hide search link/icons
|
||||||
this.title = '';
|
this.parentNode.classList.add('hidden');
|
||||||
|
|
||||||
init();
|
init();
|
||||||
load();
|
load();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user