From 7d8b1af79dfaedf45fd795f05a8efe9a1bfc9e0c Mon Sep 17 00:00:00 2001 From: Simon Paris Date: Tue, 28 Apr 2026 17:52:25 +0800 Subject: [PATCH] fix: Hide qr action close button when not in modal --- sdk/src/styles.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sdk/src/styles.css b/sdk/src/styles.css index 7104a3f..0c491fc 100644 --- a/sdk/src/styles.css +++ b/sdk/src/styles.css @@ -564,11 +564,18 @@ xendit-payment-channel[inert] { padding: 0; } +.xendit-dialog-floating-close { + display: none; +} + +.xendit-dialog .xendit-dialog-floating-close { + display: flex; +} + .xendit-dialog-floating-close { position: absolute; top: 24px; right: 24px; - display: flex; background: none; border: none; color: var(--xendit-color-text);