Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3381359
D3878.id12120.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3878.id12120.diff
View Options
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 = (
- <CornerDownLeftIcon className={css.inlineSidebarIcon} size={18} />
- );
- alignStyle = css.viewerMessageBoxContainer;
- } else if (props.positioning === 'left') {
- nonViewerIcon = (
- <CornerDownRightIcon className={css.inlineSidebarIcon} size={18} />
- );
- alignStyle = css.nonViewerMessageBoxContainer;
- } else {
- nonViewerIcon = (
- <CornerDownRightIcon className={css.inlineSidebarIcon} size={18} />
- );
- 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}
</div>
- {viewerIcon}
</div>
</div>
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 29, 4:40 AM (14 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595826
Default Alt Text
D3878.id12120.diff (1 KB)
Attached To
Mode
D3878: [web] [remove] [ENG-530] remove arrow from inline reply
Attached
Detach File
Event Timeline
Log In to Comment