From 18a4f2e26df1db212b9f8498003c3b8ff1b6c70c Mon Sep 17 00:00:00 2001 From: amasin76 Date: Sun, 15 Oct 2023 17:38:36 +0100 Subject: [PATCH] Fix: `user style` conflict w/ ALX Theme extension --- src/pages/content/userStyle.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/content/userStyle.ts b/src/pages/content/userStyle.ts index 40f7285..4996628 100644 --- a/src/pages/content/userStyle.ts +++ b/src/pages/content/userStyle.ts @@ -18,7 +18,11 @@ const createCanvas = () => { body { position: relative; z-index: 0; - }`; + } + + body.dark main { + background-color: transparent !important; +}`; style.id = "particles"; document.head.appendChild(style); };