aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-10 16:51:02 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-04-10 16:51:02 +0200
commitb7e216811574ae20a702208dc0a00158d90febdc (patch)
tree58df9f260df38b315533d4b19a0fa5031f5bb87e /client/src/app
parent670e955c2229005b39ac7f90d4774042cd72b77d (diff)
downloadPeerTube-b7e216811574ae20a702208dc0a00158d90febdc.tar.gz
PeerTube-b7e216811574ae20a702208dc0a00158d90febdc.tar.zst
PeerTube-b7e216811574ae20a702208dc0a00158d90febdc.zip
Improve highlighted comment scrollTo, improve reply comment display
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.scss6
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comments.component.html3
2 files changed, 8 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.scss b/client/src/app/videos/+video-watch/comment/video-comment-add.component.scss
index b9e864491..b3725ab94 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.scss
+++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.scss
@@ -36,6 +36,12 @@ form {
36 36
37 button { 37 button {
38 @include peertube-button; 38 @include peertube-button;
39 @include disable-outline;
40 @include disable-default-a-behaviour;
41
42 &:not(:last-child) {
43 margin-right: .5rem;
44 }
39 45
40 &:last-child { 46 &:last-child {
41 @include orange-button; 47 @include orange-button;
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.html b/client/src/app/videos/+video-watch/comment/video-comments.component.html
index 2ab2d4689..a21042f09 100644
--- a/client/src/app/videos/+video-watch/comment/video-comments.component.html
+++ b/client/src/app/videos/+video-watch/comment/video-comments.component.html
@@ -38,7 +38,8 @@
38 (nearOfBottom)="onNearOfBottom()" 38 (nearOfBottom)="onNearOfBottom()"
39 [dataObservable]="onDataSubject.asObservable()" 39 [dataObservable]="onDataSubject.asObservable()"
40 > 40 >
41 <div #commentHighlightBlock id="highlighted-comment"> 41 <div>
42 <div class="anchor" #commentHighlightBlock id="highlighted-comment"></div>
42 <my-video-comment 43 <my-video-comment
43 *ngIf="highlightedThread" 44 *ngIf="highlightedThread"
44 [comment]="highlightedThread" 45 [comment]="highlightedThread"