Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

style: center .video-placeholder

Christian Feif92fa07fdf83
diff --git a/client/main.css b/client/main.css
index 3fd1c16..9204d31 100644
--- a/client/main.css
+++ b/client/main.css
@@ -357,6 +357,7 @@ video-element, video-element video {
height: 225px;
background-color: var(--video-placeholder);
background-size: cover;
+ background-position: center center;
display: flex;
align-items: center;
justify-content: center;