style: rollback the previous style

This commit is contained in:
XPoet 2021-01-28 14:50:41 +08:00
parent a99ed0170a
commit 8ee7891be7
1 changed files with 12 additions and 7 deletions

View File

@ -1,6 +1,6 @@
.category-list-container { .category-list-container {
keep-container(false, 0, 0, 30px, 30px); keep-container(false, 0, 0, 30px, 0);
.category-list-content { .category-list-content {
@ -9,19 +9,24 @@
li.all-category-list-item { li.all-category-list-item {
font-size: 1rem; font-size: 1rem;
margin-bottom: 15px; margin-bottom: 15px;
display: flex;
justify-content: space-between;
align-items: center;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
span.all-category-list-count { span.all-category-list-count {
float: right;
color: var(--default-text-color); color: var(--default-text-color);
background: var(--second-background-color);
padding: 2px 8px;
border-radius: 2px; &::before {
content: '[';
}
&::after {
content: ']';
}
} }