From 232c956b8176c7942fde3ed54115a9e7096f6b2c Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 21 Feb 2020 01:27:28 +0800 Subject: [PATCH] Optimized icon position. --- assets/css/main.scss | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 9170f28..0e0e180 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1413,21 +1413,20 @@ table tbody td { i { text-align: center; width: 1.25em; - padding-top: .45rem; + padding-top: .44rem; } } - #mode-toggle-wrapper { - font-size: .9rem; - } + #mode-toggle-wrapper { + font-size: .9rem; + i { + @include icon-round(2rem); + padding-top: .44rem; + bottom: 0; + } + } - #mode-toggle-wrapper>i { - @include icon-round(2rem); - padding-top: 0.5rem; - bottom: 0; - } - - .icon-border { + .icon-border { margin-left: .2rem; margin-right: .2rem; margin-top: .85rem; @@ -1436,7 +1435,7 @@ table tbody td { .icon-border+a { margin-left: 0; } - } + } // #sidebar .sidebar-bottom footer>div.d-flex {