followup 9a55e64b: suppress CSS transitions bug in FF while loading

fixes #177
This commit is contained in:
tophf 2017-09-02 08:51:36 +03:00
parent cf2f644366
commit 72e8213bd7
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,12 @@
<link rel="stylesheet" href="msgbox/msgbox.css">
<style id="style-overrides"></style>
<style id="firefox-transitions-bug-suppressor">
/* increased specificity to override sane selectors in user styles */
html#stylus.firefox #stylus-manage #header *:not(body) {
transition: none !important;
}
</style>
<!-- Notes:
* Chrome doesn't garbage-collect (or even leaks) SVG <symbol> referenced via <use> so we'll embed the code directly

View File

@ -76,6 +76,10 @@ onDOMready().then(onBackgroundReady).then(() => {
});
filterOnChange({forceRefilter: true});
if (FIREFOX) {
$('#firefox-transition-bug-suppressor').remove();
}
});