]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/video-miniature.component.scss
Merge branch 'release/v1.0.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-miniature.component.scss
index 6883650f4e55f643765f0a260991a180c40e570a..895879adc5311ce210c734dbc8af78046f29081f 100644 (file)
     line-height: normal;
 
     .video-miniature-name {
-      display: block;
-      overflow: hidden;
-      text-overflow: ellipsis;
-      white-space: nowrap;
+      @include ellipsis-multiline(
+        $font-size: 1rem,
+        $line-height: 1,
+        $lines-to-show: 2
+      );
       transition: color 0.2s;
       font-size: 16px;
       font-weight: $font-semibold;
-      color: #000;
+      color: var(--mainForegroundColor);
+      margin-top: 5px;
+      margin-bottom: 5px;
 
       &:hover {
         text-decoration: none;