diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-20 11:00:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-20 11:23:45 +0100 |
commit | 420a6043cc579d6fc342adcfe8107daf51664761 (patch) | |
tree | 2ef9bb00d02c3a71df79ef51137c3fbb2f31d448 /client/src/app/+videos | |
parent | 15825ef18d3b2bb74f4e613496cf3e2921a87389 (diff) | |
download | PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.tar.gz PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.tar.zst PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.zip |
Fix buttons CSS
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/comment/video-comment.component.html | 2 | ||||
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/comment/video-comments.component.scss | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.html b/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.html index da35a9a2e..5eefc2450 100644 --- a/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.html +++ b/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.html | |||
@@ -37,7 +37,7 @@ | |||
37 | ></div> | 37 | ></div> |
38 | 38 | ||
39 | <div class="comment-actions"> | 39 | <div class="comment-actions"> |
40 | <div tabindex=0 (click)="onWantToReply()" class="comment-action-reply" i18n>Reply</div> | 40 | <button (click)="onWantToReply()" class="comment-action-reply border-0 p-0" i18n>Reply</button> |
41 | 41 | ||
42 | <my-user-moderation-dropdown | 42 | <my-user-moderation-dropdown |
43 | [prependActions]="prependModerationActions" tabindex=0 [buttonStyled]="false" | 43 | [prependActions]="prependModerationActions" tabindex=0 [buttonStyled]="false" |
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 638147dfe..5001ad168 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 | |||
@@ -8,6 +8,11 @@ | |||
8 | .view-replies { | 8 | .view-replies { |
9 | font-weight: $font-semibold; | 9 | font-weight: $font-semibold; |
10 | cursor: pointer; | 10 | cursor: pointer; |
11 | position: relative; | ||
12 | |||
13 | .chevron-down { | ||
14 | @include margin-left(0); | ||
15 | } | ||
11 | } | 16 | } |
12 | 17 | ||
13 | .title-block { | 18 | .title-block { |
@@ -37,12 +42,6 @@ | |||
37 | border: 0; | 42 | border: 0; |
38 | } | 43 | } |
39 | 44 | ||
40 | @media screen and (max-width: 600px) { | ||
41 | .view-replies { | ||
42 | @include margin-left(46px); | ||
43 | } | ||
44 | } | ||
45 | |||
46 | @media screen and (max-width: 450px) { | 45 | @media screen and (max-width: 450px) { |
47 | .view-replies { | 46 | .view-replies { |
48 | font-size: 14px; | 47 | font-size: 14px; |