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