Page MenuHomePhabricator

D10529.diff
No OneTemporary

D10529.diff

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
@@ -1,6 +1,8 @@
.thread {
display: flex;
flex-direction: row;
+ margin: 0 12px;
+ border-radius: 8px;
}
.sidebarItem {
@@ -16,6 +18,8 @@
padding-right: 8px;
position: relative;
cursor: pointer;
+ margin: 0 12px;
+ border-radius: 8px;
}
.threadListSidebar > svg {
position: absolute;
@@ -276,7 +280,7 @@
display: flex;
flex-direction: column;
align-items: stretch;
- padding: 8px;
+ padding: 8px 16px 16px;
}
img.longArrow {
height: 40px;
diff --git a/web/chat/chat-thread-list.react.js b/web/chat/chat-thread-list.react.js
--- a/web/chat/chat-thread-list.react.js
+++ b/web/chat/chat-thread-list.react.js
@@ -149,7 +149,10 @@
const sidebarHeight = _sum(
items[index].sidebars.map(s => sizes.sidebars[s.type]),
);
- return sizes.thread + sidebarHeight;
+
+ const rowGap = index === items.length - 1 ? 0 : 8;
+
+ return sizes.thread + sidebarHeight + rowGap;
};
return (

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 5, 2:00 AM (13 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2615562
Default Alt Text
D10529.diff (1 KB)

Event Timeline