aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-11-15 11:54:09 +0100
committerChocobozzz <me@florianbigard.com>2018-11-15 16:38:36 +0100
commit650e3d5ce380026cc79bcd271915cf7e6f51c24c (patch)
tree7f4279ec24ab5560201be91cf62c93bd565b2898 /client/src
parente6d5a4f1ea917098058f9db2e28f1c039d8f5c00 (diff)
downloadPeerTube-650e3d5ce380026cc79bcd271915cf7e6f51c24c.tar.gz
PeerTube-650e3d5ce380026cc79bcd271915cf7e6f51c24c.tar.zst
PeerTube-650e3d5ce380026cc79bcd271915cf7e6f51c24c.zip
Fix miniature with a long name
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/video/video-miniature.component.html4
-rw-r--r--client/src/sass/include/_mixins.scss4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html
index 277a0cf35..2c635fa2f 100644
--- a/client/src/app/shared/video/video-miniature.component.html
+++ b/client/src/app/shared/video/video-miniature.component.html
@@ -7,10 +7,10 @@
7 class="video-miniature-name" 7 class="video-miniature-name"
8 [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }" 8 [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }"
9 > 9 >
10 {{ video.name }}
11
12 <span *ngIf="isUnlistedVideo()" class="badge badge-warning" i18n>Unlisted</span> 10 <span *ngIf="isUnlistedVideo()" class="badge badge-warning" i18n>Unlisted</span>
13 <span *ngIf="isPrivateVideo()" class="badge badge-danger" i18n>Private</span> 11 <span *ngIf="isPrivateVideo()" class="badge badge-danger" i18n>Private</span>
12
13 {{ video.name }}
14 </a> 14 </a>
15 15
16 <span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span> 16 <span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index b25d7ae0f..d6f391a45 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -29,7 +29,7 @@
29 display: block; 29 display: block;
30 /* Fallback for non-webkit */ 30 /* Fallback for non-webkit */
31 display: -webkit-box; 31 display: -webkit-box;
32 max-height: $font-size*$line-height*$lines-to-show + 0.2; 32 max-height: $font-size * $line-height * $lines-to-show;
33 /* Fallback for non-webkit */ 33 /* Fallback for non-webkit */
34 font-size: $font-size; 34 font-size: $font-size;
35 line-height: $line-height; 35 line-height: $line-height;
@@ -511,4 +511,4 @@
511 } 511 }
512 } 512 }
513 } 513 }
514} \ No newline at end of file 514}