reduce padding-top on setting checkboxes on mobile

pull/211/head
Aevann 2023-10-06 16:28:44 +03:00
parent 9720320722
commit 9cfe1369cc
5 changed files with 13 additions and 4 deletions

View File

@ -3256,6 +3256,9 @@ a.bg-light:hover, a.bg-light:focus, button.bg-light:hover, button.bg-light:focus
}
@media (min-width: 992px) {
.pt-lg-3 {
padding-top: 1rem !important;
}
.mx-lg-5 {
margin-right: 3rem !important;
}
@ -7643,3 +7646,9 @@ ul {
-webkit-animation: lgbt-patron 8s linear infinite;
animation: lgbt-patron 8s linear infinite;
}
@media (max-width: 768px) or (min-width: 992px) {
#sidebar-btn {
display: None !important;
}
}

View File

@ -12,7 +12,7 @@
<div class="title w-lg-25">
<label for="poor">Poor Mode</label>
</div>
<div class="body w-lg-100">
<div class="body w-lg-100 pt-1 pt-lg-3">
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input setting_switch" data-nonce="{{g.nonce}}" id="poor" name="poor"{% if v.poor %} checked{% endif %}>
<label class="custom-control-label" for="poor"></label>

View File

@ -5,7 +5,7 @@
<div class="title w-lg-25">
<label for="{{id}}">{{title}}</label>
</div>
<div class="body w-lg-100">
<div class="body w-lg-100 pt-1 pt-lg-3">
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input setting_switch" data-nonce="{{g.nonce}}" id="{{id}}" name="{{name}}"{% if flag %} checked{% endif %} {% if disabled %}disabled{% endif %}>
<label class="custom-control-label" for="{{id}}"></label>

View File

@ -91,7 +91,7 @@
<div class="title w-lg-25">
<label for="2faToggle">Use Two-Factor Authentication</label>
</div>
<div class="body w-lg-100">
<div class="body w-lg-100 pt-1 pt-lg-3">
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="2faToggle" name="2faToggle" data-nonce="{{g.nonce}}" {% if v.mfa_secret %}checked{% endif %}>
<label class="custom-control-label" for="2faToggle"></label>

View File

@ -6,7 +6,7 @@
<div class="title mt-5">
<label class="text-lg" for="stealth">Stealth Mode</label>
</div>
<div class="d-inline-block w-lg-100">
<div class="d-inline-block w-lg-100 pt-1 pt-lg-3">
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="stealth" name="stealth" {% if sub.stealth %}checked{% endif %} data-nonce="{{g.nonce}}" data-onchange="postToastSwitch(this,'/h/{{sub}}/stealth')">
<label class="custom-control-label" for="stealth"></label>