2022-11-16 12:25:37 +00:00
|
|
|
.Message {
|
2022-11-21 05:06:53 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 3.2rem 0;
|
|
|
|
|
2022-11-16 12:25:37 +00:00
|
|
|
.body {
|
2022-11-21 05:06:53 +00:00
|
|
|
background: #f6f6f6;
|
|
|
|
font-size: 14px;
|
|
|
|
max-width: 60%;
|
|
|
|
border-radius: 16px;
|
|
|
|
padding: 12px 16px;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.time {
|
|
|
|
margin-top: 8px;
|
|
|
|
font-size: 10px;
|
|
|
|
color: #9fa1a7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
gap: 6px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
|
|
.name {
|
|
|
|
color: #141414;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.own {
|
|
|
|
.body {
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-left: auto;
|
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.time {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2022-11-16 12:25:37 +00:00
|
|
|
}
|
|
|
|
}
|