followup 9a55e64b: suppress CSS transitions bug in FF while loading
fixes #177
This commit is contained in:
parent
cf2f644366
commit
72e8213bd7
|
@ -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
|
||||
|
|
|
@ -76,6 +76,10 @@ onDOMready().then(onBackgroundReady).then(() => {
|
|||
});
|
||||
|
||||
filterOnChange({forceRefilter: true});
|
||||
|
||||
if (FIREFOX) {
|
||||
$('#firefox-transition-bug-suppressor').remove();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user