Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

switch margin-bottom rules to padding-bottom now used in miniature

Rigel Kent46788f21f6c5
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index e0d41117a0..2e083982eb 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -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;
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.html b/client/src/app/videos/recommendations/recommended-videos.component.html
index e4568c3095..a402660289 100644
--- a/client/src/app/videos/recommendations/recommended-videos.component.html
+++ b/client/src/app/videos/recommendations/recommended-videos.component.html
@@ -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>
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.scss b/client/src/app/videos/recommendations/recommended-videos.component.scss
index cde62f87f7..b278c9654e 100644
--- a/client/src/app/videos/recommendations/recommended-videos.component.scss
+++ b/client/src/app/videos/recommendations/recommended-videos.component.scss
@@ -25,3 +25,7 @@
font-weight: 600;
}
}
+
+hr {
+ margin-top: 0;
+}