2019-06-26 19:59:27 -04:00
|
|
|
.comments {
|
2019-07-21 17:31:22 -04:00
|
|
|
@extend .ul--no-style;
|
2019-06-26 19:59:27 -04:00
|
|
|
}
|
2019-05-22 13:59:46 -05:00
|
|
|
|
2019-06-26 19:59:27 -04:00
|
|
|
.comment {
|
2019-07-23 04:05:51 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: var(--font-multiplier-small);
|
2019-11-14 15:02:15 -05:00
|
|
|
padding: var(--spacing-small) 0 var(--spacing-small);
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2019-05-21 16:15:37 -05:00
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
2019-05-22 13:59:46 -05:00
|
|
|
border-bottom: 1px solid var(--lbry-gray-1);
|
|
|
|
|
|
|
|
[data-mode='dark'] & {
|
|
|
|
border-color: rgba($lbry-gray-5, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__meta {
|
2019-07-17 16:56:36 -04:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2019-11-14 15:02:15 -05:00
|
|
|
margin-bottom: var(--spacing-small);
|
2019-07-23 04:05:51 -04:00
|
|
|
|
|
|
|
time {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2019-07-17 16:56:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__message {
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__author {
|
|
|
|
text-overflow: ellipsis; // This is where the magic happens
|
|
|
|
flex-basis: 400px;
|
|
|
|
flex-shrink: 1;
|
2019-11-07 14:39:22 -05:00
|
|
|
font-weight: var(--font-weight-bold);
|
2019-07-17 16:56:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__time {
|
|
|
|
flex-basis: 200px;
|
|
|
|
text-align: right;
|
2019-05-21 16:15:37 -05:00
|
|
|
}
|
2019-09-30 23:16:46 +02:00
|
|
|
|
|
|
|
.comment__char-count {
|
|
|
|
align-self: flex-end;
|
2019-10-01 00:08:16 +02:00
|
|
|
font-size: var(--font-label);
|
2019-09-30 23:16:46 +02:00
|
|
|
}
|