aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss19
1 files changed, 10 insertions, 9 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 814417f04..daaf337c8 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
@@ -28,11 +28,7 @@ form {
28 .markdown-guide { 28 .markdown-guide {
29 position: absolute; 29 position: absolute;
30 top: 5px; 30 top: 5px;
31 left: 4px; 31 right: 9px;
32
33 @media screen and (max-width: 600px) {
34 left: 0;
35 }
36 32
37 ::ng-deep .help-tooltip-button { 33 ::ng-deep .help-tooltip-button {
38 my-global-icon { 34 my-global-icon {
@@ -40,13 +36,17 @@ form {
40 width: $markdown-icon-width; 36 width: $markdown-icon-width;
41 37
42 svg { 38 svg {
43 opacity: 0.5; 39 color: #C6C6C6;
40 fill: #C6C6C6;
41 border-radius: 3px;
44 } 42 }
45 } 43 }
46 44
47 &:focus, &:active, &:hover { 45 &:focus, &:active, &:hover {
48 my-global-icon svg { 46 my-global-icon svg {
49 opacity: 1; 47 background-color: #C6C6C6;
48 color: pvar(--mainBackgroundColor);
49 fill: pvar(--mainBackgroundColor);
50 } 50 }
51 } 51 }
52 } 52 }
@@ -56,10 +56,11 @@ form {
56 @include peertube-textarea(100%, $peertube-textarea-height); 56 @include peertube-textarea(100%, $peertube-textarea-height);
57 @include button-focus(pvar(--mainColorLightest)); 57 @include button-focus(pvar(--mainColorLightest));
58 58
59 text-indent: $markdown-icon-width; 59 min-height: calc(#{$peertube-textarea-height} - 15px * 2);
60 padding-right: $markdown-icon-width + 15px !important;
60 61
61 @media screen and (max-width: 600px) { 62 @media screen and (max-width: 600px) {
62 text-indent: $markdown-icon-width + 5px; 63 padding-right: $markdown-icon-width + 19px !important;
63 } 64 }
64 65
65 &:focus::placeholder { 66 &:focus::placeholder {