diff --git a/src/components/Chat/ChatDirect.tsx b/src/components/Chat/ChatDirect.tsx index c499eb3..5341fd9 100644 --- a/src/components/Chat/ChatDirect.tsx +++ b/src/components/Chat/ChatDirect.tsx @@ -344,8 +344,32 @@ const clearEditorContent = () => { height: isMobile ? '100%' : '100vh', display: 'flex', flexDirection: 'column', - width: '100%' + width: '100%', + background: !isMobile && 'var(--bg-2)' }}> + {!isMobile && ( + + + Close Direct Chat + + )} {isMobile && ( - - - { - close() + - - - - - { - setSelectedDirect(null) - setMobileViewModeKeepOpen('') + onClick={() => { + close() + }} + > + + + + + - - + { + setSelectedDirect(null) + setMobileViewModeKeepOpen('') + }} + > + + + - + )}