Improve the way to toggle comment responses

Co-Authored-By: Javi Martín <javim@elretirao.net>
This commit is contained in:
Senén Rodero Rodríguez
2020-05-15 17:09:02 +02:00
parent dcff7e8a33
commit 31c0b4360d
4 changed files with 37 additions and 21 deletions

View File

@@ -2121,14 +2121,6 @@ table {
padding-left: rem-calc(18);
}
.far {
font-size: $small-font-size;
left: 0;
position: absolute;
text-decoration: none;
top: 2px;
}
.divider {
color: $text-light;
display: inline-block;
@@ -2139,6 +2131,35 @@ table {
}
}
.responses-count {
.far {
@extend .fa-minus-square;
font-size: $small-font-size;
left: 0;
position: absolute;
text-decoration: none;
top: 2px;
}
.show-children {
display: none;
}
&.collapsed {
.far {
@extend .fa-plus-square;
}
.collapse-children {
display: none;
}
.show-children {
display: inline;
}
}
}
.comment-user {
margin-top: $line-height / 4;
padding: $line-height / 4 0;