Skip to content

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

Fix embed margin in share modal

Chocobozzz612dd3c3f574
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.html b/client/src/app/shared/shared-share-modal/video-share.component.html
index 7c5618838a..ecd36dd5af 100644
--- a/client/src/app/shared/shared-share-modal/video-share.component.html
+++ b/client/src/app/shared/shared-share-modal/video-share.component.html
@@ -55,7 +55,7 @@
The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites).
</div>
- <div [innerHTML]="playlistEmbedHTML"></div>
+ <div class="embed" [innerHTML]="playlistEmbedHTML"></div>
</div>
</ng-template>
</ng-container>
@@ -122,7 +122,7 @@
The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites).
</div>
- <div [innerHTML]="videoEmbedHTML"></div>
+ <div class="embed" [innerHTML]="videoEmbedHTML"></div>
</div>
</ng-template>
</ng-container>
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.scss b/client/src/app/shared/shared-share-modal/video-share.component.scss
index ac3b841da3..44ebb13f4f 100644
--- a/client/src/app/shared/shared-share-modal/video-share.component.scss
+++ b/client/src/app/shared/shared-share-modal/video-share.component.scss
@@ -29,7 +29,8 @@ my-input-toggle-hidden {
flex-direction: column;
}
-.alert {
+.alert,
+.embed {
margin-top: 20px;
}