Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[space][web] Refine friends search layout

r4khul9d7643f57943
diff --git a/web/apps/space/src/screens/FriendsScreen.tsx b/web/apps/space/src/screens/FriendsScreen.tsx
index a9cab30b69..88f2e911dd 100644
--- a/web/apps/space/src/screens/FriendsScreen.tsx
+++ b/web/apps/space/src/screens/FriendsScreen.tsx
@@ -893,7 +893,7 @@ export const FriendsScreen: React.FC<FriendsScreenProps> = ({
onChange={(event) =>
setSearchQuery(event.target.value)
}
- placeholder="Search friends"
+ placeholder="Search"
value={searchQuery}
sx={{
bgcolor: "transparent",
@@ -965,7 +965,7 @@ export const FriendsScreen: React.FC<FriendsScreenProps> = ({
flexDirection: "column",
gap: "4px",
m: 0,
- mt: "8px",
+ mt: "18px",
p: 0,
width: "100%",
}}
@@ -1000,10 +1000,13 @@ export const FriendsScreen: React.FC<FriendsScreenProps> = ({
role="status"
sx={{
color: textSoft,
+ display: "grid",
fontFamily:
'"Inter Variable", Inter, sans-serif',
fontSize: 14,
- mt: "72px",
+ lineHeight: "20px",
+ minHeight: "max(0px, calc(100svh - 116px))",
+ placeItems: "center",
textAlign: "center",
}}
>