diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
commit | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (patch) | |
tree | fa29fcfd704cbc56c7bc3e3e1c15d84ea0f4dc61 /client/src/app/+videos/+video-watch/shared/comment | |
parent | 25ea1d85e155382367d11036617848fe69a1e6a4 (diff) | |
download | PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.gz PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.zst PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.zip |
Fix lint
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/comment')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html | 4 | ||||
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/comment/video-comments.component.scss | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html index e27942e66..a003a10eb 100644 --- a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html +++ b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html | |||
@@ -64,7 +64,7 @@ | |||
64 | (timestampClicked)="handleTimestampClicked($event)" | 64 | (timestampClicked)="handleTimestampClicked($event)" |
65 | [redraftValue]="commentReplyRedraftValue" | 65 | [redraftValue]="commentReplyRedraftValue" |
66 | > | 66 | > |
67 | <div *ngIf="comment.totalReplies !== 0 && !threadComments[comment.id]" (click)="viewReplies(comment.id)" class="view-replies mb-2"> | 67 | <button *ngIf="comment.totalReplies !== 0 && !threadComments[comment.id]" (click)="viewReplies(comment.id)" class="view-replies mb-2 button-unstyle"> |
68 | <span class="chevron-down"></span> | 68 | <span class="chevron-down"></span> |
69 | 69 | ||
70 | <ng-container *ngIf="comment.totalRepliesFromVideoAuthor > 0; then hasAuthorComments; else noAuthorComments"></ng-container> | 70 | <ng-container *ngIf="comment.totalRepliesFromVideoAuthor > 0; then hasAuthorComments; else noAuthorComments"></ng-container> |
@@ -81,7 +81,7 @@ | |||
81 | <ng-template i18n #noAuthorComments>View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}}</ng-template> | 81 | <ng-template i18n #noAuthorComments>View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}}</ng-template> |
82 | 82 | ||
83 | <my-loader size="sm" class="ms-1" [loading]="threadLoading[comment.id]"></my-loader> | 83 | <my-loader size="sm" class="ms-1" [loading]="threadLoading[comment.id]"></my-loader> |
84 | </div> | 84 | </button> |
85 | </my-video-comment> | 85 | </my-video-comment> |
86 | 86 | ||
87 | </div> | 87 | </div> |
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.scss b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.scss index 5001ad168..7720fe43b 100644 --- a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.scss +++ b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.scss | |||
@@ -24,16 +24,11 @@ | |||
24 | @include margin-left(5px); | 24 | @include margin-left(5px); |
25 | 25 | ||
26 | display: inline-block; | 26 | display: inline-block; |
27 | opacity: 0; | ||
28 | transition: ease-in .2s opacity; | 27 | transition: ease-in .2s opacity; |
29 | width: 12px; | 28 | width: 12px; |
30 | position: relative; | 29 | position: relative; |
31 | top: -3px; | 30 | top: -3px; |
32 | } | 31 | } |
33 | |||
34 | &:hover my-feed { | ||
35 | opacity: 1; | ||
36 | } | ||
37 | } | 32 | } |
38 | 33 | ||
39 | #dropdown-sort-comments { | 34 | #dropdown-sort-comments { |