mirror of https://github.com/Chocobozzz/PeerTube
Add contained in playlists badges gap
parent
f9735a9e88
commit
b14e3c3de9
|
@ -51,7 +51,7 @@
|
||||||
<ng-container *ngIf="displayOptions.state">{{ getStateLabel(video) }}</ng-container>
|
<ng-container *ngIf="displayOptions.state">{{ getStateLabel(video) }}</ng-container>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="containedInPlaylists" class="fs-6">
|
<div *ngIf="containedInPlaylists" class="contained-in-playlists">
|
||||||
<a *ngFor="let playlist of containedInPlaylists" class="pt-badge badge-secondary" [routerLink]="['/w/p/', playlist.playlistShortUUID]">
|
<a *ngFor="let playlist of containedInPlaylists" class="pt-badge badge-secondary" [routerLink]="['/w/p/', playlist.playlistShortUUID]">
|
||||||
{{ playlist.playlistDisplayName }}
|
{{ playlist.playlistDisplayName }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -181,6 +181,14 @@ my-actor-avatar {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contained-in-playlists {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
column-gap: 5px;
|
||||||
|
row-gap: 5px;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
@include on-small-main-col {
|
@include on-small-main-col {
|
||||||
.video-miniature.display-as-row {
|
.video-miniature.display-as-row {
|
||||||
--rowThumbnailWidth: #{$video-thumbnail-medium-width};
|
--rowThumbnailWidth: #{$video-thumbnail-medium-width};
|
||||||
|
|
Loading…
Reference in New Issue