From d5009878562132e5454a00863af1f37574ff9bcd Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Fri, 26 Jul 2024 08:01:20 +0200 Subject: [PATCH] chore: add missing class names to modals --- js/src/forum/components/AcceptPoliciesModal.js | 4 ++++ js/src/forum/components/UserPoliciesStateModal.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/js/src/forum/components/AcceptPoliciesModal.js b/js/src/forum/components/AcceptPoliciesModal.js index 1b341a7..0ce3778 100644 --- a/js/src/forum/components/AcceptPoliciesModal.js +++ b/js/src/forum/components/AcceptPoliciesModal.js @@ -18,6 +18,10 @@ export default class AcceptPoliciesModal extends Modal { return app.translator.trans('fof-terms.forum.accept-modal.title'); } + className() { + return 'AcceptPoliciesModal Modal--medium'; + } + content() { return m('.Modal-body', this.body()); } diff --git a/js/src/forum/components/UserPoliciesStateModal.js b/js/src/forum/components/UserPoliciesStateModal.js index 3aac9a8..e079a1e 100644 --- a/js/src/forum/components/UserPoliciesStateModal.js +++ b/js/src/forum/components/UserPoliciesStateModal.js @@ -12,6 +12,10 @@ export default class UserPoliciesStateModal extends Modal { }); } + className() { + return 'UserPoliciesStateModal Modal--medium'; + } + content() { return m( '.Modal-body',