Fix miniature with a long name
This commit is contained in:
parent
e6d5a4f1ea
commit
650e3d5ce3
|
@ -7,10 +7,10 @@
|
||||||
class="video-miniature-name"
|
class="video-miniature-name"
|
||||||
[routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }"
|
[routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }"
|
||||||
>
|
>
|
||||||
{{ video.name }}
|
|
||||||
|
|
||||||
<span *ngIf="isUnlistedVideo()" class="badge badge-warning" i18n>Unlisted</span>
|
<span *ngIf="isUnlistedVideo()" class="badge badge-warning" i18n>Unlisted</span>
|
||||||
<span *ngIf="isPrivateVideo()" class="badge badge-danger" i18n>Private</span>
|
<span *ngIf="isPrivateVideo()" class="badge badge-danger" i18n>Private</span>
|
||||||
|
|
||||||
|
{{ video.name }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
|
<span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
/* Fallback for non-webkit */
|
/* Fallback for non-webkit */
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
max-height: $font-size*$line-height*$lines-to-show + 0.2;
|
max-height: $font-size * $line-height * $lines-to-show;
|
||||||
/* Fallback for non-webkit */
|
/* Fallback for non-webkit */
|
||||||
font-size: $font-size;
|
font-size: $font-size;
|
||||||
line-height: $line-height;
|
line-height: $line-height;
|
||||||
|
|
Loading…
Reference in New Issue