Skip to content

Commit ccd51f0

Browse files
Add checkbox style to remove bogus rendered bullet (cotes2020#203)
1 parent 944f001 commit ccd51f0

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

_layouts/categories.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<!-- Sub-categories -->
8282
{% if sub_categories_size > 0 %}
8383
<div id="{{ LIST_PREFIX }}{{ group_index }}" class="collapse show" aria-expanded="true">
84-
<ul class="list-group">
84+
<ul class="list-group pl-0">
8585
{% for sub_category in sub_categories %}
8686
<li class="list-group-item">
8787
<i class="far fa-folder fa-fw"></i>

assets/css/_addon/main.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,19 @@ div.post-content .table-wrapper {
860860
font-size: 1.08rem;
861861
@include img(true);
862862
}// p
863+
864+
ul {
865+
padding-left: 2rem;
866+
867+
.task-list-item {
868+
list-style-type: none;
869+
}
870+
871+
input[type=checkbox] {
872+
margin: 0 .5rem .25rem -1.3rem;
873+
vertical-align: middle;
874+
}
875+
}
863876
}
864877

865878
.tag:hover {

0 commit comments

Comments
 (0)