diff --git a/keyserver/images/arrow.svg b/keyserver/images/arrow.svg new file mode 100755 --- /dev/null +++ b/keyserver/images/arrow.svg @@ -0,0 +1,3 @@ + + + diff --git a/keyserver/images/long_arrow.svg b/keyserver/images/long_arrow.svg new file mode 100644 --- /dev/null +++ b/keyserver/images/long_arrow.svg @@ -0,0 +1,8 @@ + + + + + + + + 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 @@ -63,7 +63,7 @@ overflow: hidden; display: flex; align-items: center; - padding-left: 8px; + padding-left: 12px; } p.breadCrumbs { display: flex; @@ -297,3 +297,15 @@ display: flex; flex-direction: column; } +img.longArrow { + height: 40px; + position: absolute; + left: 22px; + top: -19px; +} + +img.arrow { + position: absolute; + left: 28px; + top: -10px; +} diff --git a/web/chat/sidebar-item.react.js b/web/chat/sidebar-item.react.js --- a/web/chat/sidebar-item.react.js +++ b/web/chat/sidebar-item.react.js @@ -15,6 +15,7 @@ function SidebarItem(props: Props): React.Node { const { sidebarInfo: { threadInfo }, + extendArrow = false, } = props; const { currentUser: { unread }, @@ -23,9 +24,24 @@ const onClick = useOnClickThread(threadInfo); const unreadCls = classNames(css.sidebarTitle, { [css.unread]: unread }); + let arrow; + if (extendArrow) { + arrow = ( + sidebar arrow + ); + } else { + arrow = ( + sidebar arrow + ); + } return ( <> + {arrow}