Skip to content

Commit

Permalink
Redeuce width of control button in full screen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed May 25, 2024
1 parent 3dcd3ad commit 7d3db44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1634,6 +1634,7 @@ function createButton(baseID: string, title: string, callback: () => void, image
newButton.id = baseID + "Button";
newButton.classList.add("playerButton");
newButton.classList.add("bpx-player-ctrl-btn");
newButton.style.maxWidth = "40px";
newButton.setAttribute("title", chrome.i18n.getMessage(title));
newButton.addEventListener("click", () => {
callback();
Expand Down

0 comments on commit 7d3db44

Please sign in to comment.