Page MenuHomePhabricator

D3441.id10455.diff
No OneTemporary

D3441.id10455.diff

diff --git a/web/chat/chat-thread-list-item-menu.css b/web/chat/chat-thread-list-item-menu.css
--- a/web/chat/chat-thread-list-item-menu.css
+++ b/web/chat/chat-thread-list-item-menu.css
@@ -44,6 +44,10 @@
display: block;
}
+.menuSidebar {
+ padding-right: 2px;
+}
+
button.menuContent {
border: none;
cursor: pointer;
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
@@ -74,11 +74,14 @@
}`;
const menuIconSize = renderStyle === 'chat' ? 24 : 20;
+ const menuCls = classNames(css.menu, {
+ [css.menuSidebar]: renderStyle === 'thread',
+ });
const btnCls = classNames(css.menuContent, {
[css.menuContentVisible]: menuVisible,
});
return (
- <div className={css.menu} onMouseLeave={hideMenu}>
+ <div className={menuCls} onMouseLeave={hideMenu}>
<button onClick={toggleMenu}>
<SWMansionIcon icon="menu-vertical" size={menuIconSize} />
</button>

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 10:48 PM (19 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577553
Default Alt Text
D3441.id10455.diff (1 KB)

Event Timeline