From 42480f8507d6cf3780a9d16a7f81f5fbe689ce6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Farka?= <stepanfarka11@gmail.com>
Date: Wed, 8 Jun 2022 13:21:48 +0200
Subject: [PATCH] [FIX] embed video donate

---
 donate/static/donate/assets/css/style.css | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/donate/static/donate/assets/css/style.css b/donate/static/donate/assets/css/style.css
index a3db013e..dfe15d72 100644
--- a/donate/static/donate/assets/css/style.css
+++ b/donate/static/donate/assets/css/style.css
@@ -1175,8 +1175,21 @@ img.full-width {
 }
 
 .responsive-object {
-  padding-bottom: 0 !important;
-  overflow: hidden;
+    position: relative;
+}
+
+.responsive-object.ratio-16-9 {
+    padding-bottom: calc(100% / 16 * 9);
+}
+
+.responsive-object iframe,
+.responsive-object object,
+.responsive-object embed {
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%;
 }
 
 
-- 
GitLab