ActivityPub-federated video streaming platform using P2P directly in your web browser
Move markdown icon on right and correct colors
kimsible438c256b2672
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.scssindex 814417f04c..daaf337c86 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 {.markdown-guide {position: absolute;top: 5px;- left: 4px;-- @media screen and (max-width: 600px) {- left: 0;- }+ right: 9px;::ng-deep .help-tooltip-button {my-global-icon {@@ -40,13 +36,17 @@ form {width: $markdown-icon-width;svg {- opacity: 0.5;+ color: #C6C6C6;+ fill: #C6C6C6;+ border-radius: 3px;}}&:focus, &:active, &:hover {my-global-icon svg {- opacity: 1;+ background-color: #C6C6C6;+ color: pvar(--mainBackgroundColor);+ fill: pvar(--mainBackgroundColor);}}}@@ -56,10 +56,11 @@ form {@include peertube-textarea(100%, $peertube-textarea-height);@include button-focus(pvar(--mainColorLightest));- text-indent: $markdown-icon-width;+ min-height: calc(#{$peertube-textarea-height} - 15px * 2);+ padding-right: $markdown-icon-width + 15px !important;@media screen and (max-width: 600px) {- text-indent: $markdown-icon-width + 5px;+ padding-right: $markdown-icon-width + 19px !important;}&:focus::placeholder {diff --git a/client/src/assets/images/misc/markdown.svg b/client/src/assets/images/misc/markdown.svgindex ee0f153035..0e2831320f 100644--- a/client/src/assets/images/misc/markdown.svg+++ b/client/src/assets/images/misc/markdown.svg@@ -1 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="40" height="24" viewBox="0 0 208 128"><rect width="198" height="118" x="5" y="5" ry="10" stroke="#000" stroke-width="10" fill="none"/><path d="M30 98V30h20l20 25 20-25h20v68H90V59L70 84 50 59v39zm125 0l-30-33h20V30h20v35h20z"/></svg>+<svg xmlns="http://www.w3.org/2000/svg" width="40" height="24" viewBox="0 0 208 128"><rect width="198" height="118" x="5" y="5" ry="10" stroke="#C6C6C6" stroke-width="10" fill="none"/><path d="M30 98V30h20l20 25 20-25h20v68H90V59L70 84 50 59v39zm125 0l-30-33h20V30h20v35h20z"/></svg>