diff --git a/jam-ui/src/components/client/JKSessionChatButton.js b/jam-ui/src/components/client/JKSessionChatButton.js index adbcf01ec..dc786de58 100644 --- a/jam-ui/src/components/client/JKSessionChatButton.js +++ b/jam-ui/src/components/client/JKSessionChatButton.js @@ -1,5 +1,6 @@ import React, { useCallback } from 'react'; import { useDispatch, useSelector } from 'react-redux'; +import { Button } from 'reactstrap'; import { openChatWindow, setActiveChannel, @@ -38,29 +39,30 @@ const JKSessionChatButton = ({ sessionId }) => { return (
- Chat 0 ? ` (${unreadCount} unread)` : ''}`} aria-pressed={isWindowOpen} - style={{ - cursor: 'pointer', - width: '24px', - height: '24px', - opacity: isWindowOpen ? 0.6 : 1 - }} title="Open session chat" - /> + style={{ opacity: isWindowOpen ? 0.6 : 1 }} + > + Chat + Chat + {unreadCount > 0 && (
{ lineHeight: '1', minWidth: '18px', textAlign: 'center', - boxShadow: '0 1px 3px rgba(0,0,0,0.3)' + boxShadow: '0 1px 3px rgba(0,0,0,0.3)', + zIndex: 1 }} > {getBadgeText()}