hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 6d69dac9da5dfb7cd8a850602629f8a7b7becd82
parent 9ad46a20357a7e28b405feef5c8f7d4501186da6
Author: Alexandros <onedrawingperday@users.noreply.github.com>
Date:   Wed, 23 May 2018 22:22:25 +0300

Fix youtube_simple thumb scaling

Fixes #4761
Diffstat:
Mtpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/tpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html b/tpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html
@@ -5,15 +5,17 @@
 {{  .Page.Scratch.Set "__h_simple_css" true }}
 <style>
 .__h_youtube {
-   position: relative;padding-bottom: 56.23%;height: 0;
+   position: relative;
+   padding-bottom: 56.23%;
+   height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 5px;
 }
 .__h_youtube img {
-   min-width:100%;
-   height:auto;
+   max-width: 100%;
+   height: auto;
    color: #000;
 }
 .__h_youtube .play {