diff --git a/web/chat/inline-sidebar.css b/web/chat/inline-sidebar.css --- a/web/chat/inline-sidebar.css +++ b/web/chat/inline-sidebar.css @@ -19,15 +19,3 @@ div.unread { font-weight: bold; } -div.centerContainer { - justify-content: center; -} -div.nonViewerMessageBoxContainer { - justify-content: flex-start; -} -div.viewerMessageBoxContainer { - justify-content: flex-end; -} -svg.inlineSidebarIcon { - color: #666666; -} diff --git a/web/chat/inline-sidebar.react.js b/web/chat/inline-sidebar.react.js --- a/web/chat/inline-sidebar.react.js +++ b/web/chat/inline-sidebar.react.js @@ -2,10 +2,6 @@ import classNames from 'classnames'; import * as React from 'react'; -import { - CornerDownRight as CornerDownRightIcon, - CornerDownLeft as CornerDownLeftIcon, -} from 'react-feather'; import { relativeMemberInfoSelectorForMembersOfThread } from 'lib/selectors/user-selectors'; import { stringForUser } from 'lib/shared/user-utils'; @@ -25,23 +21,7 @@ const onClick = useOnClickThread(threadInfo); - let viewerIcon, nonViewerIcon, alignStyle; - if (props.positioning === 'right') { - viewerIcon = ( - - ); - alignStyle = css.viewerMessageBoxContainer; - } else if (props.positioning === 'left') { - nonViewerIcon = ( - - ); - alignStyle = css.nonViewerMessageBoxContainer; - } else { - nonViewerIcon = ( - - ); - alignStyle = css.centerContainer; - } + let nonViewerIcon, alignStyle; const unreadStyle = threadInfo.currentUser.unread ? css.unread : null; const repliesCount = threadInfo.repliesCount || 1; @@ -67,7 +47,6 @@ {sendersText} {repliesText} - {viewerIcon} );