Skip to content

Invidious is an alternative front-end to YouTube

Add padding to thumbnails

Omar Roth1c152f6cadf1
diff --git a/assets/css/default.css b/assets/css/default.css
index 36dd8360..738be6a5 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -81,10 +81,13 @@ a.pure-button-primary:hover {
}
div.thumbnail {
+ padding: 28.125%;
position: relative;
+ box-sizing: border-box;
}
img.thumbnail {
+ position: absolute;
width: 100%;
left: 0;
top: 0;