Added new button backgrounds. Centered report button

This commit is contained in:
Ajay Ramachandran
2019-08-19 16:49:22 -04:00
parent 0c2c868e5c
commit cbab026f27
2 changed files with 30 additions and 8 deletions

View File

@@ -76,6 +76,7 @@ class SkipNotice {
//thumbs up and down buttons
let voteButtonsContainer = document.createElement("td");
voteButtonsContainer.id = "sponsorTimesVoteButtonsContainer" + this.UUID;
voteButtonsContainer.className = "sponsorTimesVoteButtonsContainer"
let reportText = document.createElement("span");
reportText.id = "sponsorTimesReportText" + this.UUID;
@@ -104,6 +105,8 @@ class SkipNotice {
unskipButton.className = "sponsorSkipObject sponsorSkipNoticeButton";
unskipButton.addEventListener("click", () => goBackToPreviousTime(this));
unskipButton.style.marginLeft = "4px";
unskipContainer.appendChild(unskipButton);
//add don't show again button