From deb0ed528e0039029ea97dd4147203d2126c0381 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 31 May 2024 09:32:52 -0700 Subject: [PATCH] Make the search history profiles a little smaller --- src/view/screens/Search/Search.tsx | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index 171b751d05..d8e85dcedd 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -1019,9 +1019,6 @@ function SearchHistory({ {truncateText(profile.displayName || '', 12)} - - @{truncateText(profile.handle, 12)} - @@ -1143,10 +1140,10 @@ const styles = StyleSheet.create({ selectedProfilesContainer: { marginTop: 10, paddingHorizontal: 12, - height: 120, + height: 80, }, selectedProfilesContainerMobile: { - height: 125, + height: 100, }, profilesRow: { flexDirection: 'row', @@ -1155,18 +1152,17 @@ const styles = StyleSheet.create({ profileItem: { alignItems: 'center', marginRight: 15, - width: 98, + width: 78, }, profileItemMobile: { - marginRight: 10, - width: 90, + width: 70, }, profilePressable: { alignItems: 'center', }, profileAvatar: { - width: 80, - height: 80, + width: 60, + height: 60, borderRadius: 45, }, profileName: { @@ -1174,19 +1170,14 @@ const styles = StyleSheet.create({ textAlign: 'center', marginTop: 5, }, - profileHandle: { - fontSize: 10, - textAlign: 'center', - color: 'gray', - }, profileRemoveBtn: { position: 'absolute', top: 0, right: 5, backgroundColor: 'white', borderRadius: 10, - width: 20, - height: 20, + width: 18, + height: 18, alignItems: 'center', justifyContent: 'center', },