Removed use of center tag.

This commit is contained in:
Ajay Ramachandran
2019-12-30 14:44:03 -05:00
parent fcb6ed7676
commit b3361a473c
3 changed files with 38 additions and 35 deletions

View File

@@ -3,6 +3,10 @@ body {
font-family: Sans-Serif; font-family: Sans-Serif;
} }
.center {
text-align: center;
}
.hidden { .hidden {
display: none; display: none;
} }
@@ -42,6 +46,7 @@ body {
#options { #options {
max-width: 60%; max-width: 60%;
text-align: left; text-align: left;
display: inline-block;
} }
.switch-container:after { .switch-container:after {

View File

@@ -14,13 +14,12 @@
SponsorBlock SponsorBlock
</div> </div>
<center> <div class="center">
<p class="createdBy">__MSG_createdBy__ <a href="https://ajay.app">Ajay Ramachandran</a> <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/></p> <p class="createdBy">__MSG_createdBy__ <a href="https://ajay.app">Ajay Ramachandran</a> <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/></p>
<h1>__MSG_Options__</h1> <h1>__MSG_Options__</h1>
<div id="options" style="display: none"> <div id="options" class="hidden">
<div option-type="toggle" toggle-type="reverse" sync-option="disableAutoSkip"> <div option-type="toggle" toggle-type="reverse" sync-option="disableAutoSkip">
<label class="switch-container" label-name="__MSG_autoSkip__"> <label class="switch-container" label-name="__MSG_autoSkip__">
@@ -143,7 +142,6 @@
</div> </div>
</div> </div>
</div>
</center>
</body> </body>

View File

@@ -46,7 +46,7 @@ async function init() {
await wait(() => checksLeft == 0, 1000, 50); await wait(() => checksLeft == 0, 1000, 50);
optionsContainer.style.display = "inherit"; optionsContainer.classList.remove("hidden");
optionsContainer.classList.add("animated"); optionsContainer.classList.add("animated");
} }