ssb: Stick the stylesheet on document.body. No more fonts changing when various dialogs show up.

This commit is contained in:
Cory McWilliams 2024-11-20 19:44:27 -05:00
parent eb8f9f8936
commit 51fe372f60
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🐌",
"previous": "&tL1A9Kt6d8wGwBFPAq5V5GtMqOatVCzuLIG6wwJhdyI=.sha256"
"previous": "&AyllqGdYCly9bdllfQCZmX8qxLrWLHDNEohqVPsZP20=.sha256"
}

View File

@ -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_query from './tf-tab-query.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);
});