mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Remove unnecessary flexbox usage
This commit is contained in:
parent
d19fcd2a4c
commit
d937a2ae59
3 changed files with 7 additions and 4 deletions
|
@ -312,8 +312,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#mainControls {
|
#mainControls {
|
||||||
flex-flow: column;
|
margin-bottom: 12px;
|
||||||
align-items: center;
|
}
|
||||||
|
|
||||||
|
.sponsorStartHint {
|
||||||
|
display: block;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
<p class="sbHeader">
|
<p class="sbHeader">
|
||||||
__MSG_recordTimesDescription__
|
__MSG_recordTimesDescription__
|
||||||
</p>
|
</p>
|
||||||
<sub style="margin-bottom: 12px;">__MSG_popupHint__</sub>
|
<sub class="sponsorStartHint">__MSG_popupHint__</sub>
|
||||||
<div>
|
<div>
|
||||||
<button id="sponsorStart" class="sbMediumButton">__MSG_sponsorStart__</button>
|
<button id="sponsorStart" class="sbMediumButton">__MSG_sponsorStart__</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -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 is undefined, then the page currently being browsed is not YouTube
|
||||||
if (request != undefined) {
|
if (request != undefined) {
|
||||||
//remove loading text
|
//remove loading text
|
||||||
PageElements.mainControls.style.display = "flex";
|
PageElements.mainControls.style.display = "block";
|
||||||
if (request.onMobileYouTube) PageElements.mainControls.classList.add("hidden");
|
if (request.onMobileYouTube) PageElements.mainControls.classList.add("hidden");
|
||||||
PageElements.whitelistButton.classList.remove("hidden");
|
PageElements.whitelistButton.classList.remove("hidden");
|
||||||
PageElements.loadingIndicator.style.display = "none";
|
PageElements.loadingIndicator.style.display = "none";
|
||||||
|
|
Loading…
Reference in a new issue