X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment.component.scss;h=c90f9849bdcc6ba28cf86d1bce0f0126f81615f1;hb=13a6b53655cdd7baba494abc3c9ff52788d4651e;hp=d948c967055eb566e9ae17f1c8f10dec699186b4;hpb=54a932e82ae9c2ede48d2302a14f307d2e7908d6;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 d948c9670..c90f9849b 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 @@ -14,6 +14,8 @@ .comment { flex-grow: 1; + // Fix word-wrap with flex + min-width: 1px; .highlighted-comment { display: inline-block; @@ -44,12 +46,17 @@ } .comment-html { - word-break: break-all; + @include peertube-word-wrap; - a { + /deep/ a { @include disable-default-a-behaviour; color: #000; + + // Semi bold mentions + &:not(.linkified-url) { + font-weight: $font-semibold; + } } } @@ -69,3 +76,26 @@ } } } + +// Decrease the space of child comments on small screens +@media screen and (max-width: 1600px) { + .children { + margin-left: -20px; + } +} + +@media screen and (max-width: 1200px) { + .children { + margin-left: -30px; + } +} + +@media screen and (max-width: 600px) { + .children { + margin-left: -40px; + } + + .root-comment { + img { margin-right: 10px; } + } +}