Fix playlist miniature size with big description
This commit is contained in:
parent
71ab0c07cc
commit
247bbe2914
|
@ -27,11 +27,11 @@
|
|||
</a>
|
||||
|
||||
<div class="privacy-date">
|
||||
<span class="video-info-privacy" *ngIf="displayPrivacy">{{ playlist.privacy.label }}</span>
|
||||
<span class="privacy" *ngIf="displayPrivacy">{{ playlist.privacy.label }}</span>
|
||||
|
||||
<span i18n class="updated-at">Updated {{ playlist.updatedAt | myFromNow }}</span>
|
||||
</div>
|
||||
|
||||
<div *ngIf="displayDescription" class="video-info-description" [innerHTML]="playlistDescription"></div>
|
||||
<div *ngIf="displayDescription" class="description" [innerHTML]="playlistDescription"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
margin-top: 5px;
|
||||
font-size: 13px;
|
||||
|
||||
.video-info-privacy {
|
||||
.privacy {
|
||||
font-weight: $font-semibold;
|
||||
|
||||
&::after {
|
||||
|
@ -65,7 +65,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
.video-info-description {
|
||||
.description {
|
||||
@include peertube-word-wrap;
|
||||
|
||||
margin-top: 10px;
|
||||
color: pvar(--greyForegroundColor);
|
||||
}
|
||||
|
@ -99,7 +101,8 @@
|
|||
.miniature-thumbnail {
|
||||
@include margin-right(10px);
|
||||
|
||||
width: var(--rowThumbnailWidth);
|
||||
min-width: var(--rowThumbnailWidth);
|
||||
max-width: var(--rowThumbnailWidth);
|
||||
height: var(--rowThumbnailHeight);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue