diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-08 11:14:33 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-09 11:54:18 +0100 |
commit | 612dd3c3f5745bac2e5ca914e36284ed61c7b84f (patch) | |
tree | 3276e2cf4d627ba6054db5231a915f8e1cd850a1 /client | |
parent | 0e00f894c6a40c986ab3672a044a87112746a3de (diff) | |
download | PeerTube-612dd3c3f5745bac2e5ca914e36284ed61c7b84f.tar.gz PeerTube-612dd3c3f5745bac2e5ca914e36284ed61c7b84f.tar.zst PeerTube-612dd3c3f5745bac2e5ca914e36284ed61c7b84f.zip |
Fix embed margin in share modal
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-share-modal/video-share.component.html | 4 | ||||
-rw-r--r-- | client/src/app/shared/shared-share-modal/video-share.component.scss | 3 |
2 files changed, 4 insertions, 3 deletions
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 7c5618838..ecd36dd5a 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 @@ | |||
55 | 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). | 55 | 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). |
56 | </div> | 56 | </div> |
57 | 57 | ||
58 | <div [innerHTML]="playlistEmbedHTML"></div> | 58 | <div class="embed" [innerHTML]="playlistEmbedHTML"></div> |
59 | </div> | 59 | </div> |
60 | </ng-template> | 60 | </ng-template> |
61 | </ng-container> | 61 | </ng-container> |
@@ -122,7 +122,7 @@ | |||
122 | 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). | 122 | 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). |
123 | </div> | 123 | </div> |
124 | 124 | ||
125 | <div [innerHTML]="videoEmbedHTML"></div> | 125 | <div class="embed" [innerHTML]="videoEmbedHTML"></div> |
126 | </div> | 126 | </div> |
127 | </ng-template> | 127 | </ng-template> |
128 | </ng-container> | 128 | </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 ac3b841da..44ebb13f4 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 { | |||
29 | flex-direction: column; | 29 | flex-direction: column; |
30 | } | 30 | } |
31 | 31 | ||
32 | .alert { | 32 | .alert, |
33 | .embed { | ||
33 | margin-top: 20px; | 34 | margin-top: 20px; |
34 | } | 35 | } |
35 | 36 | ||