summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-03-02 16:08:31 +0100
committerMichał M. Sapka <michal@sapka.me>2023-03-02 16:08:31 +0100
commitf5de0a0cedc915001cf58bef4f30addf43dac22c (patch)
treed89ae71b1908d04966d1a869986d30819fa65b0c /layouts/shortcodes
parent7e5f7bb3391ef263d48b9e0850e442b08657f8bd (diff)
fix: shrink yt covers on phones
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/youtube.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html
index 4261ed2..c29eed1 100644
--- a/layouts/shortcodes/youtube.html
+++ b/layouts/shortcodes/youtube.html
@@ -8,6 +8,7 @@
<center>
<a href="https://www.youtube.com/watch?v={{$id}}" target="_blank">
<img
+ class="center"
src="{{ $img1x.Permalink }}"
srcset="
{{ $img1x.RelPermalink }} 1x,