switch margin-bottom rules to padding-bottom now used in miniature
This commit is contained in:
parent
d39db21a88
commit
46788f21f6
3 changed files with 12 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue