Skip to content

Commit

Permalink
Make width and bottom margin same as other YT elements
Browse files Browse the repository at this point in the history
  • Loading branch information
rakleed authored Oct 21, 2023
1 parent c8c141f commit 36ff532
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2042,8 +2042,10 @@ function openInfoMenu() {
popup.id = "sponsorBlockPopupContainer";

const frame = document.createElement("iframe");
frame.width = "374";
frame.style.maxWidth = "400px";
frame.width = "100%";
frame.height = "500";
frame.style.marginBottom = "24px";
frame.style.borderRadius = "12px";
frame.addEventListener("load", () => frame.contentWindow.postMessage("", "*"));
frame.src = chrome.extension.getURL("popup.html");
Expand Down

0 comments on commit 36ff532

Please sign in to comment.