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,7 @@ + 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 @@ -47,15 +47,6 @@ color: var(--thread-color-read); line-height: var(--line-height-text); } -div.threadArrowExtender { - width: 10px; - position: absolute; - border-left: 0.5px solid var(--arrow-extension-color); - height: 8px; - top: -15px; - left: 32px; -} - .threadButton { flex: 1; cursor: pointer; @@ -72,7 +63,7 @@ overflow: hidden; display: flex; align-items: center; - padding-left: 8px; + padding-left: 12px; } p.breadCrumbs { display: flex; @@ -306,3 +297,16 @@ display: flex; flex-direction: column; } +img.longArrow { + height: 40px; + width: 25px; + position: absolute; + left: 28.5px; + top: -18px; +} + +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 @@ -6,7 +6,6 @@ import type { SidebarInfo } from 'lib/types/thread-types'; import { useOnClickThread } from '../selectors/nav-selectors'; -import SWMansionIcon from '../SWMansionIcon.react'; import css from './chat-thread-list.css'; type Props = { @@ -25,16 +24,24 @@ const onClick = useOnClickThread(threadInfo); const unreadCls = classNames(css.sidebarTitle, { [css.unread]: unread }); - - let arrowExtender; + let arrow; if (extendArrow) { - arrowExtender =
; + arrow = ( + + ); + } else { + arrow = ( + + ); } return ( <> - {arrowExtender} -