mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
switch margin-bottom rules to padding-bottom now used in miniature
This commit is contained in:
@@ -122,7 +122,7 @@ $video-info-margin-left: 44px;
|
||||
|
||||
.video-bottom {
|
||||
display: flex;
|
||||
margin-top: 40px;
|
||||
margin-top: 1.5rem;
|
||||
|
||||
.video-info {
|
||||
flex-grow: 1;
|
||||
@@ -418,7 +418,7 @@ $video-info-margin-left: 44px;
|
||||
display: flex;
|
||||
width: max-content;
|
||||
height: 100%;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 20px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@@ -552,7 +552,7 @@ my-video-comments {
|
||||
@media screen and (max-width: 600px) {
|
||||
.video-bottom {
|
||||
margin-top: 20px !important;
|
||||
margin-bottom: 20px !important;
|
||||
padding-bottom: 20px !important;
|
||||
|
||||
.video-info {
|
||||
padding: 0;
|
||||
|
||||
@@ -12,11 +12,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngFor="let video of (videos$ | async); let i = index; let length = count">
|
||||
<my-video-miniature [displayOptions]="displayOptions" [video]="video" [user]="user" (videoBlocked)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()">
|
||||
<ng-container *ngFor="let video of (videos$ | async); let i = index; let length = count">
|
||||
<my-video-miniature
|
||||
[displayOptions]="displayOptions" [video]="video" [user]="user"
|
||||
(videoBlocked)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()">
|
||||
</my-video-miniature>
|
||||
|
||||
<hr *ngIf="!playlist && i == 0 && length > 1" />
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
</div>
|
||||
|
||||
@@ -25,3 +25,7 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user