From 45dbb7c170342dcd235baae611cb45ddd2d111bb Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Sat, 22 Jan 2022 12:31:29 -0800 Subject: [PATCH] max h for the voice line --- components/Dashboard/TeamVoiceLine.tsx | 28 ++++++++++++-------------- components/UserStatusBubble.tsx | 10 ++++----- styles/globals.css | 3 ++- 3 files changed, 19 insertions(+), 22 deletions(-) diff --git a/components/Dashboard/TeamVoiceLine.tsx b/components/Dashboard/TeamVoiceLine.tsx index 774c7d4..9fd76f2 100644 --- a/components/Dashboard/TeamVoiceLine.tsx +++ b/components/Dashboard/TeamVoiceLine.tsx @@ -124,12 +124,6 @@ export default function TeamVoiceLine() { {tmember.nickName} - - {isMessageIncoming ? ( - - ) : ( - "" - )} @@ -143,12 +137,6 @@ export default function TeamVoiceLine() { {tmember.nickName} - {isMessageIncoming ? ( - - ) : ( - "" - )} - {/* keyboard shortcuts start from 1 */} {i + 1} @@ -187,7 +175,15 @@ export default function TeamVoiceLine() { ) : ( - + + {isMessageIncoming ? ( + + ) : ( + "" + )} + + + )} ); @@ -208,7 +204,7 @@ export default function TeamVoiceLine() { } return ( -
+
TEAM @@ -236,7 +232,9 @@ export default function TeamVoiceLine() { {/* list of team members */} - {renderTeamMemberList()} +
+ {renderTeamMemberList()} +
); } diff --git a/components/UserStatusBubble.tsx b/components/UserStatusBubble.tsx index dfdac15..b7ee249 100644 --- a/components/UserStatusBubble.tsx +++ b/components/UserStatusBubble.tsx @@ -31,19 +31,17 @@ export function UserPulse(props: UserStatusPropsInterface) { switch (props.status) { case UserStatus.online: return ( - + ); case UserStatus.busy: return ( - + ); case UserStatus.offline: - return ( - - ); + return ; default: return ( - + ); } } diff --git a/styles/globals.css b/styles/globals.css index 6b049d9..872d8c2 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -118,11 +118,12 @@ p { ::-webkit-scrollbar { height: 5px; width: 5px; + @apply rounded; } /* Track */ ::-webkit-scrollbar-track { - background: #f1f1f1; + @apply bg-gray-400 rounded; } /* Handle */