diff options
author | Nate <nathancday@gmail.com> | 2018-04-22 23:39:40 +0300 |
---|---|---|
committer | Nate <nathancday@gmail.com> | 2018-04-22 23:39:40 +0300 |
commit | a5c5c0263e3a34439d4148eb423922d6cc20a534 (patch) | |
tree | a2c59d7f4ab56504a7f2641955695754770e6cff | |
parent | 14b5f0eb01b6728689a2bb0ccc2b5f16e1375bf3 (diff) |
nightmode toggle sizing fix
-rw-r--r-- | layouts/partials/toggle.html | 9 | ||||
-rw-r--r-- | static/css/main.css | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/layouts/partials/toggle.html b/layouts/partials/toggle.html index a29430f..6656e3f 100644 --- a/layouts/partials/toggle.html +++ b/layouts/partials/toggle.html @@ -1,9 +1,10 @@ <li id="night-mode-toggle"> <input type="checkbox" id = "button-status" data-toggle="toggle" - data-size = "small" - data-on="<i class='fa fa-moon-o fa-lg'></i>" - data-off= "<i class='fa fa-sun-o fa-lg'></i>" - data-style="ios", + data-width = "10" + data-height = "1" + data-on="<i class='fa fa-moon-o fa-lg' style='vertical-align:25%'></i>" + data-off= "<i class='fa fa-sun-o fa-lg' style='vertical-align:25%'></i>" + data-style="ios" data-onstyle = "default"> </li>
\ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index 9ae3438..236fb67 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -176,10 +176,8 @@ img { /* slider attributes match navbar elements */ #night-mode-toggle { - display: inline-block !important; - padding-top:10px; - padding-left:10px; font-size: 100%; + padding-top:10px; } /* built on-top of Custom Style .ios from: http://www.bootstraptoggle.com/ */ |