Skip to content

Commit

Permalink
Tweak shared chats style
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Apr 18, 2023
1 parent 1b959dc commit 4e3659d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/renderer/components/dialogs/ViewGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,16 +276,12 @@ function ViewGroupInner(props: {
<div className='group-separator'>
{tx('profile_shared_chats')}
</div>
<div
style={{
height: CHATLISTITEM_CHAT_HEIGHT * chatListIds.length,
}}
>
<div style={{ marginLeft: '-20px' }}>
<ChatListPart
isRowLoaded={isChatLoaded}
loadMoreRows={loadChats}
rowCount={chatListIds.length}
width={'500px'}
width={'400px'}
height={CHATLISTITEM_CHAT_HEIGHT * chatListIds.length}
itemKey={index => 'key' + chatListIds[index]}
itemHeight={CHATLISTITEM_CHAT_HEIGHT}
Expand Down

0 comments on commit 4e3659d

Please sign in to comment.