Remove unnecessary flexbox usage

This commit is contained in:
Alec Rust 2022-03-19 12:13:04 +00:00
parent d19fcd2a4c
commit d937a2ae59
No known key found for this signature in database
GPG key ID: EB374231DBCA5067
3 changed files with 7 additions and 4 deletions

View file

@ -312,8 +312,11 @@
*/
#mainControls {
flex-flow: column;
align-items: center;
margin-bottom: 12px;
}
.sponsorStartHint {
display: block;
margin-bottom: 12px;
}

View file

@ -68,7 +68,7 @@
<p class="sbHeader">
__MSG_recordTimesDescription__
</p>
<sub style="margin-bottom: 12px;">__MSG_popupHint__</sub>
<sub class="sponsorStartHint">__MSG_popupHint__</sub>
<div>
<button id="sponsorStart" class="sbMediumButton">__MSG_sponsorStart__</button>
</div>

View file

@ -304,7 +304,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
//if request is undefined, then the page currently being browsed is not YouTube
if (request != undefined) {
//remove loading text
PageElements.mainControls.style.display = "flex";
PageElements.mainControls.style.display = "block";
if (request.onMobileYouTube) PageElements.mainControls.classList.add("hidden");
PageElements.whitelistButton.classList.remove("hidden");
PageElements.loadingIndicator.style.display = "none";