Skip to content

Commit

Permalink
chore: add missing class names to modals
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Jul 26, 2024
1 parent b281569 commit d500987
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/src/forum/components/AcceptPoliciesModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
4 changes: 4 additions & 0 deletions js/src/forum/components/UserPoliciesStateModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export default class UserPoliciesStateModal extends Modal {
});
}

className() {
return 'UserPoliciesStateModal Modal--medium';
}

content() {
return m(
'.Modal-body',
Expand Down

0 comments on commit d500987

Please sign in to comment.