Rev 3964 | Rev 4103 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
.comment-container {
display: flex;
gap: 0.5rem;
align-items: flex-start;
.user-image {
width: 50px;
object-fit: contain;
border-radius: 50%;
background: $white;
}
.comment-content {
background-color: $bg-color-secondary;
border-radius: $border-radius;
border-top-left-radius: 0;
display: flex;
flex-direction: column;
gap: 0.5rem;
width: 100%;
padding: 0.5rem;
}
}
.comments-container {
display: flex;
flex-direction: column;
gap: 0.5rem;
overflow: hidden;
transition: all .3s;
&.show {
height: fit-content;
}
&.hidden {
height: 0;
}
}
.comment-list {
display: flex;
flex-direction: column;
gap: 1rem;
max-height: 300px;
overflow-y: auto;
}