Improve the checkbox style (#207)

Hotfix: the solution of #203 will affect the layout `archives`
This commit is contained in:
Cotes Chung 2020-12-13 01:45:52 +08:00
parent 07d29ec9bf
commit cea339088b
2 changed files with 13 additions and 10 deletions

View File

@ -81,7 +81,7 @@ layout: page
<!-- Sub-categories -->
{% if sub_categories_size > 0 %}
<div id="{{ LIST_PREFIX }}{{ group_index }}" class="collapse show" aria-expanded="true">
<ul class="list-group pl-0">
<ul class="list-group">
{% for sub_category in sub_categories %}
<li class="list-group-item">
<i class="far fa-folder fa-fw"></i>

View File

@ -862,18 +862,21 @@ div.post-content .table-wrapper {
}// p
ul {
padding-left: 2rem;
&.task-list, &:not([class]) {
padding-left: 2rem;
.task-list-item {
list-style-type: none;
}
.task-list-item {
list-style-type: none;
}
input[type=checkbox] {
margin: 0 .5rem .25rem -1.3rem;
vertical-align: middle;
input[type=checkbox] {
margin: 0 .5rem .25rem -1.3rem;
vertical-align: middle;
}
}
}
}
} // ul
} // .post-content
.tag:hover {
@extend %tag-hover;