fix: builds failing and css failing to load in frontend

This commit is contained in:
SethBurkart123
2025-03-12 20:52:48 +11:00
parent c7bdd86967
commit 5eb92bc87a
8 changed files with 20 additions and 14 deletions
+2 -2
View File
@@ -3046,10 +3046,10 @@ export async function SendNewsPage() {
;(titlediv! as HTMLElement).innerText = "News"
AppendLoadingSymbol("newsloading", "#news-container")
const response = await browser.runtime.sendMessage({
const response = (await browser.runtime.sendMessage({
type: "sendNews",
source: settingsState.newsSource,
})
})) as any
const newscontainer = document.querySelector("#news-container")
document.getElementById("newsloading")?.remove()
-2
View File
@@ -1,6 +1,4 @@
@import './components/ColourPicker.css';
@import "tailwindcss";
@tailwind base;
@tailwind components;
+1 -1
View File
@@ -19,6 +19,6 @@ export default function renderSvelte(
style.setAttribute("type", "text/css")
style.innerHTML = styles
mountPoint.appendChild(style)
return app
}
+1 -1
View File
@@ -32,7 +32,7 @@
],
"web_accessible_resources": [
{
"resources": ["*://*/*"],
"resources": ["*/*"],
"matches": ["*://*/*"]
},
{