From a866fd355b7d5107ae217b8a0ba3e0e161f97b51 Mon Sep 17 00:00:00 2001 From: Alex P Date: Tue, 22 Aug 2023 10:50:58 +0300 Subject: [PATCH] Hide ACDC footer frame via CSS to avoid empty space It seems like this iframe (added when ACDC is enabled) can result in some empty space being shown because of some inherited `body` CSS about fonts/text. So hiding it via `display: none`, I think it will not cause any issues, because this iframe is not supposed to be visible anyway (`width`, `height` are set to `0`). --- modules/ppcp-button/resources/css/hosted-fields.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ppcp-button/resources/css/hosted-fields.scss b/modules/ppcp-button/resources/css/hosted-fields.scss index 2305d313b..578a70a09 100644 --- a/modules/ppcp-button/resources/css/hosted-fields.scss +++ b/modules/ppcp-button/resources/css/hosted-fields.scss @@ -15,3 +15,7 @@ .ppcp-dcc-order-button { float: right; } + +iframe[id^="hosted-fields-tokenization-frame_"] { + display: none; +}