summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-23 10:24:52 -0500
committerOmar Roth <omarroth@hotmail.com>2019-03-23 10:24:52 -0500
commit1c152f6cadf1e1514923e6dcd62797e6b43f2131 (patch)
treee45ec676cbfc866462751b84262db1905280373e /assets
parent57c05354c214d3e8e1c0e2c0e61ea0d6f0f00326 (diff)
downloadinvidious-1c152f6cadf1e1514923e6dcd62797e6b43f2131.tar.gz
invidious-1c152f6cadf1e1514923e6dcd62797e6b43f2131.tar.bz2
invidious-1c152f6cadf1e1514923e6dcd62797e6b43f2131.zip
Add padding to thumbnails
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css3
1 files changed, 3 insertions, 0 deletions
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;