From 280163111e9191d32d25dc7a21dc421eedab58e0 Mon Sep 17 00:00:00 2001 From: Jones Date: Fri, 30 May 2025 12:16:53 +0930 Subject: [PATCH] Update OpenAboutPage.ts - Move css to injected.scss --- src/seqta/utils/Openers/OpenAboutPage.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/seqta/utils/Openers/OpenAboutPage.ts b/src/seqta/utils/Openers/OpenAboutPage.ts index ab543bb5..2a3fbafb 100644 --- a/src/seqta/utils/Openers/OpenAboutPage.ts +++ b/src/seqta/utils/Openers/OpenAboutPage.ts @@ -5,26 +5,6 @@ import { animate, stagger } from "motion"; import { DeleteWhatsNew } from "../Whatsnew"; export function OpenAboutPage() { - if (!document.getElementById('about-here-link-style')) { - const style = document.createElement('style'); - style.id = 'about-here-link-style'; - style.textContent = ` - .about-here-link { - background: rgba(0, 102, 255, 0.07) !important; - border-radius: 0.3em !important; - padding: 2px 10px !important; - color:rgb(56, 166, 255) !important; - font-weight: 500 !important; - transition: background 0.2s, color 0.2s !important; - cursor: pointer !important; - } - .about-here-link:hover { - background: rgba(0, 102, 255, 0.13) !important; - color:rgb(80, 168, 255) !important; - } - `; - document.head.appendChild(style); - } const background = document.createElement("div"); background.id = "whatsnewbk"; background.classList.add("whatsnewBackground");