fix: message results now match contact row dimensions

pull/3137/head
yougotwill 8 months ago
parent 242a4ae52f
commit 462e3b2ff3

@ -15,6 +15,7 @@ import { Avatar, AvatarSize } from '../avatar/Avatar';
import { MessageBodyHighlight } from '../basic/MessageBodyHighlight'; import { MessageBodyHighlight } from '../basic/MessageBodyHighlight';
import { ContactName } from '../conversation/ContactName'; import { ContactName } from '../conversation/ContactName';
import { Timestamp } from '../conversation/Timestamp'; import { Timestamp } from '../conversation/Timestamp';
import { leftPaneListWidth } from '../leftpane/LeftPane';
const StyledConversationTitleResults = styled.div` const StyledConversationTitleResults = styled.div`
flex-grow: 1; flex-grow: 1;
@ -39,11 +40,9 @@ const StyledConversationFromUserInGroup = styled(StyledConversationTitleResults)
`; `;
const StyledSearchResults = styled.div` const StyledSearchResults = styled.div`
padding: 8px; padding: var(--margins-sm) var(--margins-md);
padding-inline-start: 16px; height: var(--contact-row-height);
padding-inline-end: 16px; max-width: ${leftPaneListWidth}px;
min-height: 64px;
max-width: 300px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;

Loading…
Cancel
Save