Skip to content

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

Add background placeholder for thumbnails

Chocobozzzd6bd50ba1d09
diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss
index 3fdfcefa0f..63538a0899 100644
--- a/client/src/app/shared/video/abstract-video-list.scss
+++ b/client/src/app/shared/video/abstract-video-list.scss
@@ -26,10 +26,11 @@
/deep/ .video-thumbnail {
width: 100%;
+ height: auto;
img {
- height: auto;
width: 100%;
+ height: auto;
}
}
}
diff --git a/client/src/app/shared/video/video-thumbnail.component.scss b/client/src/app/shared/video/video-thumbnail.component.scss
index 4840a9e4fe..c3cb1ec752 100644
--- a/client/src/app/shared/video/video-thumbnail.component.scss
+++ b/client/src/app/shared/video/video-thumbnail.component.scss
@@ -6,6 +6,9 @@
position: relative;
border-radius: 4px;
overflow: hidden;
+ width: $video-thumbnail-width;
+ height: $video-thumbnail-height;
+ background-color: #ececec;
&:hover {
text-decoration: none !important;