X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment.component.scss;h=7c46569311100242b63933580807d4811c8426b9;hb=83e9886eedbbcd94292edd3aa135f7c357c9f67a;hp=0f95078c245957eb5256fec0fefd258bab5c1eaf;hpb=ae05c9912555ef29e1fe14ba34ac9d8381547939;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 0f95078c2..7c4656931 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 @@ -15,7 +15,7 @@ width: 2px; height: 100%; background-color: rgba(0, 0, 0, 0.05); - margin: 10px 0; + margin: 10px calc(1rem + 1px); } } @@ -63,12 +63,19 @@ } .comment-account { - @include disable-default-a-behaviour; - word-break: break-all; - color: var(--mainForegroundColor); - font-weight: $font-bold; + font-weight: 600; font-size: 90%; + + a { + @include disable-default-a-behaviour; + + color: var(--mainForegroundColor); + } + + .comment-account-fid { + opacity: .6; + } } .comment-date { @@ -81,7 +88,6 @@ .comment-html { @include peertube-word-wrap; - margin-bottom: 10px; // Mentions ::ng-deep a { @@ -96,8 +102,14 @@ } + // Paragraphs + ::ng-deep p { + margin-bottom: .3rem; + } + &.comment-html-deleted { color: $grey-foreground-color; + margin-bottom: 1rem; } } @@ -105,6 +117,7 @@ margin-bottom: 10px; display: flex; + ::ng-deep .dropdown-toggle, .comment-action-reply, .comment-action-delete { color: $grey-foreground-color; @@ -115,6 +128,19 @@ color: var(--mainForegroundColor); } } + + ::ng-deep .action-button { + background-color: transparent; + padding: 0; + font-weight: unset; + } + } + + my-video-comment-add { + ::ng-deep form { + margin-top: 1rem; + margin-bottom: 0; + } } }