Chat: Fix padding (#4909)
This commit is contained in:
parent
d51fc2a3a2
commit
1dfcbf1009
@ -85,6 +85,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.RecentContacts .search-section {
|
||||||
|
padding-left: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.WebLink {
|
.WebLink {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
@ -123,6 +127,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ListItem.search-result {
|
.ListItem.search-result {
|
||||||
|
.ListItem-button {
|
||||||
|
padding: 0.375rem;
|
||||||
|
}
|
||||||
|
|
||||||
.ChatInfo {
|
.ChatInfo {
|
||||||
// Fix for overflow hidden and stories indicator
|
// Fix for overflow hidden and stories indicator
|
||||||
padding: 0.0625rem;
|
padding: 0.0625rem;
|
||||||
@ -185,7 +193,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search-section {
|
.search-section {
|
||||||
padding: 0 0.125rem 0 1rem;
|
padding: 0 0.125rem 0 0.75rem;
|
||||||
|
|
||||||
.section-heading {
|
.section-heading {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
|
|||||||
@ -224,7 +224,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ListItem-button {
|
.ListItem-button {
|
||||||
padding: 0.375rem;
|
padding: 0.5625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.contact-list-item {
|
&.contact-list-item {
|
||||||
|
|||||||
@ -382,10 +382,10 @@ function reduceUsers<T extends GlobalState>(global: T): GlobalState['users'] {
|
|||||||
...visibleUserIds || [],
|
...visibleUserIds || [],
|
||||||
...attachBotIds,
|
...attachBotIds,
|
||||||
...global.topPeers.userIds || [],
|
...global.topPeers.userIds || [],
|
||||||
|
...global.recentlyFoundChatIds?.filter(isUserId) || [],
|
||||||
...getOrderedIds(ARCHIVED_FOLDER_ID)?.slice(0, GLOBAL_STATE_CACHE_ARCHIVED_CHAT_LIST_LIMIT).filter(isUserId) || [],
|
...getOrderedIds(ARCHIVED_FOLDER_ID)?.slice(0, GLOBAL_STATE_CACHE_ARCHIVED_CHAT_LIST_LIMIT).filter(isUserId) || [],
|
||||||
...getOrderedIds(ALL_FOLDER_ID)?.filter(isUserId) || [],
|
...getOrderedIds(ALL_FOLDER_ID)?.filter(isUserId) || [],
|
||||||
...global.contactList?.userIds || [],
|
...global.contactList?.userIds || [],
|
||||||
...global.recentlyFoundChatIds?.filter(isUserId) || [],
|
|
||||||
...Object.keys(byId),
|
...Object.keys(byId),
|
||||||
]).slice(0, GLOBAL_STATE_CACHE_USER_LIST_LIMIT);
|
]).slice(0, GLOBAL_STATE_CACHE_USER_LIST_LIMIT);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user