Rev 3580 | Rev 3726 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
.message {
padding: 0.6rem 0.6rem 1.3rem 0.6rem;
margin-top: 0.5rem;
position: relative;
min-width: 4rem;
display: flex;
align-items: center;
&_sent {
justify-self: flex-end;
align-self: flex-end;
background-color: #d8f1e4;
border-radius: 10px 0 10px 10px;
}
&_received {
justify-self: flex-start;
align-self: flex-start;
background-color: #fff;
border-radius: 0 10px 10px 10px;
}
&__time {
position: absolute;
color: $subtitle-color;
right: 5px;
bottom: 5px;
font-size: 0.6rem;
}
}
.chatImg {
max-width: 200px;
max-height: 400px;
object-fit: contain;
}
.downloadBtn {
display: inline-flex;
gap: 0.5rem;
padding: 2px 10px;
margin-left: 0.2rem;
color: black;
}
.pdfImage {
width: 50px;
}
.userName {
font-size: 0.7rem;
color: $font-color;
align-self: flex-start;
margin-bottom: 0.2rem;
}
.messageContainer {
display: flex;
flex-direction: column;
p {
color: $chat-color;
}
}