1
0
Fork 0

Fix playlist miniature size with big description

This commit is contained in:
Chocobozzz 2021-11-29 14:20:18 +01:00
parent 71ab0c07cc
commit 247bbe2914
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 8 additions and 5 deletions

View File

@ -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>

View File

@ -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);
}
}