mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 12:37:05 +03:00
Merge pull request #1705 from rakleed/border-radius
Add border radius like other YouTube elements
This commit is contained in:
@@ -1928,6 +1928,7 @@ function openInfoMenu() {
|
|||||||
const frame = document.createElement("iframe");
|
const frame = document.createElement("iframe");
|
||||||
frame.width = "374";
|
frame.width = "374";
|
||||||
frame.height = "500";
|
frame.height = "500";
|
||||||
|
frame.style.borderRadius = "12px";
|
||||||
frame.addEventListener("load", () => frame.contentWindow.postMessage("", "*"));
|
frame.addEventListener("load", () => frame.contentWindow.postMessage("", "*"));
|
||||||
frame.src = chrome.extension.getURL("popup.html");
|
frame.src = chrome.extension.getURL("popup.html");
|
||||||
popup.appendChild(frame);
|
popup.appendChild(frame);
|
||||||
|
|||||||
Reference in New Issue
Block a user