From 8ee7891be751cdee0dd4995c4df13ef10da4f80d Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 28 Jan 2021 14:50:41 +0800 Subject: [PATCH] style: rollback the previous style --- source/css/layout/category-list.styl | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/source/css/layout/category-list.styl b/source/css/layout/category-list.styl index aca2336..1b48d9e 100644 --- a/source/css/layout/category-list.styl +++ b/source/css/layout/category-list.styl @@ -1,6 +1,6 @@ .category-list-container { - keep-container(false, 0, 0, 30px, 30px); + keep-container(false, 0, 0, 30px, 0); .category-list-content { @@ -9,19 +9,24 @@ li.all-category-list-item { font-size: 1rem; margin-bottom: 15px; - display: flex; - justify-content: space-between; - align-items: center; &:last-child { margin-bottom: 0; } span.all-category-list-count { + float: right; color: var(--default-text-color); - background: var(--second-background-color); - padding: 2px 8px; - border-radius: 2px; + + + &::before { + content: '['; + } + + &::after { + content: ']'; + } + }