diff --git a/web/chat/chat-thread-list-item-menu.react.js b/web/chat/chat-thread-list-item-menu.react.js --- a/web/chat/chat-thread-list-item-menu.react.js +++ b/web/chat/chat-thread-list-item-menu.react.js @@ -23,8 +23,10 @@ type Props = { +threadInfo: ThreadInfo, +mostRecentNonLocalMessage: ?string, + +isSubmenu?: boolean, }; function ChatThreadListItemMenu(props: Props): React.Node { + const { isSubmenu = false } = props; const [menuVisible, setMenuVisible] = React.useState(false); const toggleMenu = React.useCallback(() => { @@ -70,10 +72,12 @@ const toggleUnreadStatusButtonText = `Mark as ${ threadInfo.currentUser.unread ? 'read' : 'unread' }`; + + const menuIconSize = isSubmenu ? 16 : 24; return (
); diff --git a/web/chat/chat-thread-list.css b/web/chat/chat-thread-list.css --- a/web/chat/chat-thread-list.css +++ b/web/chat/chat-thread-list.css @@ -167,7 +167,8 @@ color: var(--thread-color-read); border: none; cursor: pointer; - align-self: flex-start; + display: flex; + align-items: center; } .menu > button:focus {