2019-06-27 01:59:27 +02:00
|
|
|
.comments {
|
2019-07-21 23:31:22 +02:00
|
|
|
@extend .ul--no-style;
|
2019-06-27 01:59:27 +02:00
|
|
|
}
|
2019-05-22 20:59:46 +02:00
|
|
|
|
2019-06-27 01:59:27 +02:00
|
|
|
.comment {
|
2019-10-24 19:24:53 +02:00
|
|
|
font-size: var(--font-multiplier-small);
|
|
|
|
padding: var(--spacing-small) 0;
|
|
|
|
flex-direction: row;
|
2019-07-23 10:05:51 +02:00
|
|
|
display: flex;
|
2019-10-24 19:24:53 +02:00
|
|
|
&:not(:last-of-type) {
|
|
|
|
border-bottom: 1px solid var(--lbry-gray-1);
|
2019-05-21 23:15:37 +02:00
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
2019-11-22 22:13:00 +01:00
|
|
|
border-bottom: 1px solid var(--color-border);
|
2019-05-22 20:59:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-24 19:24:53 +02:00
|
|
|
.comment__body_container {
|
|
|
|
padding: var(--spacing-small) 0;
|
2019-11-11 21:15:34 +01:00
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
width: -moz-available;
|
|
|
|
width: -webkit-fill-available;
|
|
|
|
width: available;
|
2019-10-24 19:24:53 +02:00
|
|
|
}
|
|
|
|
|
2019-05-22 20:59:46 +02:00
|
|
|
.comment__meta {
|
2019-07-17 22:56:36 +02:00
|
|
|
display: flex;
|
2019-11-11 21:15:34 +01:00
|
|
|
flex-direction: row;
|
2019-10-24 19:24:53 +02:00
|
|
|
justify-content: flex-end;
|
|
|
|
text-overflow: ellipsis;
|
2019-07-23 10:05:51 +02:00
|
|
|
time {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2019-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__message {
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__author {
|
2019-10-23 09:04:40 +02:00
|
|
|
margin-bottom: 1rem;
|
2019-07-17 22:56:36 +02:00
|
|
|
text-overflow: ellipsis; // This is where the magic happens
|
2019-11-11 21:15:34 +01:00
|
|
|
flex: 1;
|
2019-07-17 22:56:36 +02:00
|
|
|
flex-basis: 400px;
|
2019-10-23 09:04:40 +02:00
|
|
|
font-weight: 600;
|
2019-10-24 19:24:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__author-thumbnail {
|
|
|
|
display: inline-block;
|
2019-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__time {
|
|
|
|
flex-basis: 200px;
|
|
|
|
text-align: right;
|
2019-10-24 19:24:53 +02:00
|
|
|
justify-content: flex-end;
|
2019-05-21 23:15:37 +02:00
|
|
|
}
|
2019-09-30 23:16:46 +02:00
|
|
|
|
|
|
|
.comment__char-count {
|
|
|
|
align-self: flex-end;
|
2019-11-22 22:13:00 +01:00
|
|
|
font-size: var(--font-small);
|
2019-09-30 23:16:46 +02:00
|
|
|
}
|