X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment.component.scss;h=84da5727e6d534c8949efca2b1b9b4dcd2505774;hb=93ea9c47d989e28405cf1039f89be71e592e36a5;hp=4c481d486bd4ef27f5feadd64ee5f720174fc7a3;hpb=f7ecffa49a487655a4527c1631e7539b50feb6ef;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.scss b/client/src/app/videos/+video-watch/comment/video-comment.component.scss index 4c481d486..84da5727e 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.scss @@ -35,7 +35,8 @@ .comment-account { @include disable-default-a-behaviour; - color: #000; + word-break: break-all; + color: var(--mainForegroundColor); font-weight: $font-bold; } @@ -46,24 +47,19 @@ } .comment-html { - word-break: normal; - word-wrap: break-word; - overflow-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - text-align: justify; + @include peertube-word-wrap; + // Mentions /deep/ a { - @include disable-default-a-behaviour; - - color: #000; - // Semi bold mentions &:not(.linkified-url) { + @include disable-default-a-behaviour; + + color: var(--mainForegroundColor); + font-weight: $font-semibold; } + } } @@ -71,13 +67,14 @@ margin: 10px 0; display: flex; - .comment-action-reply, .comment-action-delete { + .comment-action-reply, + .comment-action-delete { color: #585858; cursor: pointer; margin-right: 10px; &:hover { - color: #000; + color: var(--mainForegroundColor); } } } @@ -99,10 +96,16 @@ @media screen and (max-width: 600px) { .children { - margin-left: -40px; + margin-left: -35px; } .root-comment { img { margin-right: 10px; } } } + +@media screen and (max-width: 450px) { + .root-comment { + font-size: 14px; + } +} \ No newline at end of file