]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/comment/video-comment.component.scss
Merge branch 'release/v1.2.0'
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / comment / video-comment.component.scss
index 3a3f32b83b7693da97f1c949d6d0d3153d8efc87..731ecbf8f97736fa341b57cbb09c241bdeebe0a9 100644 (file)
       .comment-account {
         @include disable-default-a-behaviour;
 
-        color: #000;
+        word-break: break-all;
+        color: var(--mainForegroundColor);
         font-weight: $font-bold;
       }
 
       .comment-date {
-        color: #585858;
+        color: $grey-foreground-color;
         margin-left: 10px;
       }
     }
 
     .comment-html {
-      word-break: normal;
-      word-wrap: break-word;
-      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;
         }
+
       }
     }
 
       margin: 10px 0;
       display: flex;
 
-      .comment-action-reply, .comment-action-delete {
-        color: #585858;
+      .comment-action-reply,
+      .comment-action-delete {
+        color: $grey-foreground-color;
         cursor: pointer;
         margin-right: 10px;
 
         &:hover {
-          color: #000;
+          color: var(--mainForegroundColor);
         }
       }
     }
 
 @media screen and (max-width: 600px) {
   .children {
-    margin-left: -40px;
+    margin-left: -35px;
   }
 
   .root-comment {
     img { margin-right: 10px; }
   }
-}
\ No newline at end of file
+}
+
+@media screen and (max-width: 450px) {
+  .root-comment {
+    font-size: 14px;
+  }
+}