From d1e3b7b5ae7b66b5301a97dbc77e9db9f63f6471 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 4 Mar 2020 07:29:31 +0800 Subject: [PATCH] Recover categories style. missing on SCSS rewrite. --- assets/css/categories.scss | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/assets/css/categories.scss b/assets/css/categories.scss index ac3680e..8098f1e 100644 --- a/assets/css/categories.scss +++ b/assets/css/categories.scss @@ -21,23 +21,20 @@ border-left: none; border-right: none; padding-left: 2rem; + >i { + @extend %category-icon-color; + } + &:first-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + } .card-header>span>i:first-child { @extend %category-icon-color; } - .list-group-item { - >i { - @extend %category-icon-color; - } - .collapsing &:first-child, - .collapse &:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; - } - } - i { &.far, &.fas { font-size: 86%; // fontawesome icons