summaryrefslogtreecommitdiffstats
path: root/tpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html')
-rw-r--r--tpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html8
1 files 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
index dddefd9ae..1884f7ea2 100644
--- 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 {