aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/app.component.scss2
-rw-r--r--client/src/app/shared/video/video-miniature.component.scss2
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment.component.html10
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment.component.scss12
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss4
5 files changed, 21 insertions, 9 deletions
diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss
index c95b21ca3..51a7a3dd1 100644
--- a/client/src/app/app.component.scss
+++ b/client/src/app/app.component.scss
@@ -25,7 +25,6 @@
25 height: $header-height; 25 height: $header-height;
26 display: flex; 26 display: flex;
27 align-items: center; 27 align-items: center;
28 flex: 1;
29 min-width: 0; 28 min-width: 0;
30 29
31 .icon { 30 .icon {
@@ -81,6 +80,7 @@
81 align-items: center; 80 align-items: center;
82 justify-content: flex-end; 81 justify-content: flex-end;
83 white-space: nowrap; 82 white-space: nowrap;
83 flex: 1;
84 } 84 }
85} 85}
86 86
diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss
index 4789c2454..3988cc055 100644
--- a/client/src/app/shared/video/video-miniature.component.scss
+++ b/client/src/app/shared/video/video-miniature.component.scss
@@ -3,7 +3,7 @@
3@import '_miniature'; 3@import '_miniature';
4 4
5$more-button-width: 41px; 5$more-button-width: 41px;
6$more-margin-right: 10px; 6$more-margin-right: 15px;
7 7
8.video-miniature { 8.video-miniature {
9 width: $video-miniature-width; 9 width: $video-miniature-width;
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.html b/client/src/app/videos/+video-watch/comment/video-comment.component.html
index f53852385..e26100346 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment.component.html
+++ b/client/src/app/videos/+video-watch/comment/video-comment.component.html
@@ -19,12 +19,12 @@
19 <div *ngIf="highlightedComment === true" class="highlighted-comment" i18n>Highlighted comment</div> 19 <div *ngIf="highlightedComment === true" class="highlighted-comment" i18n>Highlighted comment</div>
20 20
21 <div class="comment-account-date"> 21 <div class="comment-account-date">
22 <a [href]="comment.account.url" target="_blank" rel="noopener noreferrer" 22 <a [href]="comment.account.url" target="_blank" rel="noopener noreferrer" class="comment-account">
23 class="comment-account" 23 <span class="comment-account-name" [ngClass]="{ 'video-author': video.account.id === comment.account.id }">{{ comment.account.displayName }}</span>
24 [ngClass]="{ 'video-author': video.account.id === comment.account.id }" 24 <span class="comment-account-fid ml-1">{{ comment.by }}</span>
25 >{{ comment.by }}</a> 25 </a>
26 <a [routerLink]="['/videos/watch', video.uuid, { 'threadId': comment.threadId }]" 26 <a [routerLink]="['/videos/watch', video.uuid, { 'threadId': comment.threadId }]"
27 class="comment-date">{{ comment.createdAt | myFromNow }}</a> 27 class="comment-date" [title]="comment.createdAt">{{ comment.createdAt | myFromNow }}</a>
28 </div> 28 </div>
29 <div 29 <div
30 class="comment-html" 30 class="comment-html"
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.scss b/client/src/app/videos/+video-watch/comment/video-comment.component.scss
index 0f95078c2..d8fd5c5de 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment.component.scss
+++ b/client/src/app/videos/+video-watch/comment/video-comment.component.scss
@@ -67,8 +67,12 @@
67 67
68 word-break: break-all; 68 word-break: break-all;
69 color: var(--mainForegroundColor); 69 color: var(--mainForegroundColor);
70 font-weight: $font-bold; 70 font-weight: 600;
71 font-size: 90%; 71 font-size: 90%;
72
73 .comment-account-fid {
74 opacity: .6;
75 }
72 } 76 }
73 77
74 .comment-date { 78 .comment-date {
@@ -81,7 +85,6 @@
81 85
82 .comment-html { 86 .comment-html {
83 @include peertube-word-wrap; 87 @include peertube-word-wrap;
84 margin-bottom: 10px;
85 88
86 // Mentions 89 // Mentions
87 ::ng-deep a { 90 ::ng-deep a {
@@ -96,6 +99,11 @@
96 99
97 } 100 }
98 101
102 // Paragraphs
103 ::ng-deep p {
104 margin-bottom: .3rem;
105 }
106
99 &.comment-html-deleted { 107 &.comment-html-deleted {
100 color: $grey-foreground-color; 108 color: $grey-foreground-color;
101 } 109 }
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index fe6a891d5..1b5d355f8 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -412,6 +412,10 @@ $video-info-margin-left: 44px;
412 @media screen and (max-width: 1800px - (3* $video-miniature-width)) { 412 @media screen and (max-width: 1800px - (3* $video-miniature-width)) {
413 margin-left: 1rem; 413 margin-left: 1rem;
414 } 414 }
415 @media screen and (max-width: 500px) {
416 margin-left: 0;
417 margin-top: .5rem;
418 }
415 } 419 }
416 } 420 }
417} 421}