ssb: Stick the stylesheet on document.body. No more fonts changing when various dialogs show up.
This commit is contained in:
parent
eb8f9f8936
commit
51fe372f60
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🐌",
|
"emoji": "🐌",
|
||||||
"previous": "&tL1A9Kt6d8wGwBFPAq5V5GtMqOatVCzuLIG6wwJhdyI=.sha256"
|
"previous": "&AyllqGdYCly9bdllfQCZmX8qxLrWLHDNEohqVPsZP20=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -15,3 +15,10 @@ import * as tf_tab_search from './tf-tab-search.js';
|
|||||||
import * as tf_tab_connections from './tf-tab-connections.js';
|
import * as tf_tab_connections from './tf-tab-connections.js';
|
||||||
import * as tf_tab_query from './tf-tab-query.js';
|
import * as tf_tab_query from './tf-tab-query.js';
|
||||||
import * as tf_tag from './tf-tag.js';
|
import * as tf_tag from './tf-tag.js';
|
||||||
|
import * as tf_styles from './tf-styles.js';
|
||||||
|
|
||||||
|
window.addEventListener('load', function() {
|
||||||
|
let style = document.createElement('style');
|
||||||
|
style.innerText = tf_styles.styles;
|
||||||
|
document.body.appendChild(style);
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user