From e989d901ca83393f72d3b06efff0acd952dc6992 Mon Sep 17 00:00:00 2001 From: GZod01 Date: Sat, 7 Sep 2024 16:39:36 +0200 Subject: [PATCH] he --- layouts/shortcodes/youtube.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html index ba4b04e..2473acd 100644 --- a/layouts/shortcodes/youtube.html +++ b/layouts/shortcodes/youtube.html @@ -23,17 +23,16 @@ height:597px; &.static{ &::after{ + display: flex; + justify-content: center; + align-items: center; position:absolute; - display:block; left:50%; top:50%; transform: translate(-50%, -50%); width:80px; height:80px; content:"Play on youtube"; - line-height:80px; - text-align:center; - vertical-align:middle; background: url(/youtube.svg); background-size:cover; }