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 | |
parent | 15825ef18d3b2bb74f4e613496cf3e2921a87389 (diff) | |
download | PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.tar.gz PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.tar.zst PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.zip |
Fix buttons CSS
Diffstat (limited to 'client/src/app')
6 files changed, 11 insertions, 13 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; |
diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index cf6e96d07..ef7749ced 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss | |||
@@ -10,7 +10,8 @@ | |||
10 | @media screen and (max-width: $mobile-view) { | 10 | @media screen and (max-width: $mobile-view) { |
11 | @include margin-right(10px); | 11 | @include margin-right(10px); |
12 | 12 | ||
13 | padding: 0 10px; | 13 | padding-right: 10px; |
14 | padding-left: 10px; | ||
14 | 15 | ||
15 | .icon.icon-upload { | 16 | .icon.icon-upload { |
16 | @include margin-right(0); | 17 | @include margin-right(0); |
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 4b1ed65ce..a51686601 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -252,6 +252,8 @@ my-actor-avatar { | |||
252 | 252 | ||
253 | > a, | 253 | > a, |
254 | > my-login-link { | 254 | > my-login-link { |
255 | @include ellipsis; | ||
256 | |||
255 | display: block; | 257 | display: block; |
256 | width: 100%; | 258 | width: 100%; |
257 | 259 | ||
diff --git a/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.scss b/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.scss index 90fcd81aa..ec2de2528 100644 --- a/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.scss +++ b/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.scss | |||
@@ -25,7 +25,3 @@ | |||
25 | margin-bottom: 0; | 25 | margin-bottom: 0; |
26 | } | 26 | } |
27 | } | 27 | } |
28 | |||
29 | my-global-icon { | ||
30 | margin: 0 5px; | ||
31 | } | ||
diff --git a/client/src/app/shared/shared-actor-image-edit/actor-image-edit.scss b/client/src/app/shared/shared-actor-image-edit/actor-image-edit.scss index 93bdaba57..b054086e4 100644 --- a/client/src/app/shared/shared-actor-image-edit/actor-image-edit.scss +++ b/client/src/app/shared/shared-actor-image-edit/actor-image-edit.scss | |||
@@ -17,11 +17,11 @@ | |||
17 | 17 | ||
18 | .actor-img-edit-button { | 18 | .actor-img-edit-button { |
19 | @include peertube-button-file(30px); | 19 | @include peertube-button-file(30px); |
20 | @include button-with-icon; | ||
20 | @include orange-button; | 21 | @include orange-button; |
21 | 22 | ||
22 | display: flex; | 23 | display: flex; |
23 | justify-content: center; | 24 | justify-content: center; |
24 | padding: 0; | ||
25 | margin-top: 10px; | 25 | margin-top: 10px; |
26 | margin-bottom: 5px; | 26 | margin-bottom: 5px; |
27 | cursor: pointer; | 27 | cursor: pointer; |