Browse Source

fix google thumbnails

lolcat 2 years ago
parent
commit
d9fcab402b
1 changed files with 3 additions and 7 deletions
  1. 3 7
      static/style.css

+ 3 - 7
static/style.css

@@ -544,10 +544,7 @@ h3,h4,h5,h6{
 	width:160px;
 	height:90px;
 	background:var(--282828);
-	text-align:center;
-	line-height:87px;
 	border:1px solid var(--504945);
-	overflow:hidden;
 	margin-left:7px;
 }
 
@@ -569,10 +566,9 @@ h3,h4,h5,h6{
 }
 
 .thumb-wrap .thumb{
-	max-width:100%;
-	max-height:100%;
-	text-align:left;
-	vertical-align:middle;
+	object-fit:fill;
+	width:100%;
+	height:100%;
 }
 
 .thumb-wrap.portrait{