Fixes cardbot list item margins

This commit is contained in:
Andrew Gioia 2023-06-14 18:45:01 +00:00
parent 6b9343d61b
commit 2f74596859

View File

@ -8950,20 +8950,23 @@ a.text-dark:hover {
flex-grow: 1 !important; flex-grow: 1 !important;
} }
/* margin between list items */
.comment-node ul > li {
margin-bottom: 1rem;
}
/* cardbot specific */ /* cardbot specific */
.comment-node .md-div > :first-child:is(ul) { .comment-node .md-div > :first-child:is(ul) {
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
} }
.comment-node .md-div > :first-child:is(ul) > li {
margin-bottom: 0;
}
.comment-node .md-div > :first-child:is(ul) + hr { .comment-node .md-div > :first-child:is(ul) + hr {
display: none; display: none;
} }
.comment-node .md-div > :first-child:is(ul) + hr + p { .comment-node .md-div > :first-child:is(ul) + hr + p {
font-size: 0.8rem; font-size: 0.8rem;
} }
/* margin between list items */
.comment-node ul > li {
margin-bottom: 1rem;
}
} }