From 1a8a7fc27f3ce94694b2d6b43053b1b0e5a0a04c Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Mon, 27 Sep 2021 11:33:11 +0200 Subject: [PATCH] Crowdfund: Limit max width of embedded content like video Closes #2782. --- BTCPayServer/wwwroot/crowdfund/styles/main.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/wwwroot/crowdfund/styles/main.css b/BTCPayServer/wwwroot/crowdfund/styles/main.css index 6c7976de2..161776fd2 100644 --- a/BTCPayServer/wwwroot/crowdfund/styles/main.css +++ b/BTCPayServer/wwwroot/crowdfund/styles/main.css @@ -63,7 +63,10 @@ canvas#fireworks { } /* Constrain image width in description */ -div#crowdfund-body-description img { +div#crowdfund-body-description img, +div#crowdfund-body-description embed, +div#crowdfund-body-description object, +div#crowdfund-body-description iframe { max-width: 100% !important; }