Adds border radius like other YouTube elements

This commit is contained in:
Pavel
2023-03-22 03:42:42 +03:00
committed by GitHub
parent f6a42a7908
commit 992e727d93

View File

@@ -1922,6 +1922,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);