From c29bde50e6dc8db5c2d9900f2c779df682bc7532 Mon Sep 17 00:00:00 2001 From: Crash-- Date: Fri, 19 May 2023 09:21:34 +0200 Subject: [PATCH] fix: CozyDialogContent for immersive mode I don't know yet why we need to create the Dialog by ourselve without using the props from UI, but let's make a quick fix in order to put some padding to the content. --- .../src/components/AccountModal.jsx | 7 ++++++- .../__snapshots__/AccountModal.spec.jsx.snap | 14 ++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/packages/cozy-harvest-lib/src/components/AccountModal.jsx b/packages/cozy-harvest-lib/src/components/AccountModal.jsx index 9ca6b59b09..692296094d 100644 --- a/packages/cozy-harvest-lib/src/components/AccountModal.jsx +++ b/packages/cozy-harvest-lib/src/components/AccountModal.jsx @@ -181,7 +181,12 @@ export class AccountModal extends Component { )} {!error && !fetching && ( - +