From 13e3e24151b27b7fd4f6a9dc258e04a3cff2a7db Mon Sep 17 00:00:00 2001 From: Celestial04 Date: Sat, 12 Apr 2025 16:40:05 +0200 Subject: [PATCH 1/2] correction of popup iframe width --- public/popup.css | 3 --- src/content.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/public/popup.css b/public/popup.css index 13d533fc16..e90f205129 100644 --- a/public/popup.css +++ b/public/popup.css @@ -98,9 +98,6 @@ #sponsorBlockPopupContainer { position: relative; margin-bottom: 16px; -} - -#sponsorBlockPopupContainer iframe { width: 100%; } diff --git a/src/content.ts b/src/content.ts index 2b9588b165..adbd801539 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2128,7 +2128,7 @@ function openInfoMenu() { popup.id = "sponsorBlockPopupContainer"; const frame = document.createElement("iframe"); - frame.width = "374"; + frame.width = "100%"; frame.height = "500"; frame.style.borderRadius = "12px"; frame.addEventListener("load", async () => { From 152730de8eae6002cba7f2bb5d1843498b581b53 Mon Sep 17 00:00:00 2001 From: Celestial04 Date: Sat, 12 Apr 2025 17:17:33 +0200 Subject: [PATCH 2/2] deletion of unnecessary line --- public/popup.css | 1 - 1 file changed, 1 deletion(-) diff --git a/public/popup.css b/public/popup.css index e90f205129..b378b76147 100644 --- a/public/popup.css +++ b/public/popup.css @@ -98,7 +98,6 @@ #sponsorBlockPopupContainer { position: relative; margin-bottom: 16px; - width: 100%; } /*