Fix: Remove padding on user profile.

Modals: Allow all modals to be closed by ESC (permitting).
Fix: Handle closing DMs properly. Stop propagation too.
This commit is contained in:
Paul
2021-06-24 16:57:12 +01:00
parent b724b9aec2
commit 2d9d3c489c
7 changed files with 27 additions and 22 deletions

View File

@@ -1,4 +1,5 @@
export const stopPropagation = (ev: JSX.TargetedMouseEvent<HTMLDivElement>, _consume?: any) => {
ev.preventDefault();
ev.stopPropagation();
return true;
};