Skip to content

armgit / ente

Public Imported from GitHub
0

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

Polish Space empty state layout

Anand Baburajan775e6150d5ea
diff --git a/web/apps/space/src/screens/FriendsScreen.tsx b/web/apps/space/src/screens/FriendsScreen.tsx
index 1aac284ad1..a24b31c264 100644
--- a/web/apps/space/src/screens/FriendsScreen.tsx
+++ b/web/apps/space/src/screens/FriendsScreen.tsx
@@ -1286,8 +1286,10 @@ export const FriendsScreen: React.FC<FriendsScreenProps> = ({
textAlign: "center",
}}
>
- Invite your close friends and family. Share everyday
- photos and keep up with each other.
+ <Box component="p" sx={{ m: 0, maxWidth: 260 }}>
+ Invite your close friends and family. Share everyday
+ photos and keep up with each other.
+ </Box>
<Box
component="button"
type="button"
diff --git a/web/apps/space/src/screens/ProfileScreen.tsx b/web/apps/space/src/screens/ProfileScreen.tsx
index e9d9d46f4a..7339af657f 100644
--- a/web/apps/space/src/screens/ProfileScreen.tsx
+++ b/web/apps/space/src/screens/ProfileScreen.tsx
@@ -1912,7 +1912,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
alignItems: "center",
bgcolor: green,
border: 0,
- borderRadius: "20px",
+ borderRadius: "22px",
boxSizing: "border-box",
color: "#FFFFFF",
cursor: isPostPhotoOpening
@@ -1921,13 +1921,13 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
display: "inline-flex",
fontFamily:
'"Inter Variable", Inter, sans-serif',
- fontSize: 14,
- fontWeight: 600,
+ fontSize: 15,
+ fontWeight: 700,
gap: "8px",
- height: spaceTouchTargetSize,
+ height: 48,
justifyContent: "center",
lineHeight: "20px",
- px: "16px",
+ px: "22px",
py: 0,
pointerEvents: "auto",
whiteSpace: "nowrap",
@@ -1937,7 +1937,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
},
"&:focus-visible": {
outline: `2px solid ${green}`,
- outlineOffset: 2,
+ outlineOffset: 3,
},
"&:hover": isPostPhotoOpening
? undefined