Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tighten profile header spacing

Anand Baburajan0341acf9a9f7
diff --git a/web/apps/space/src/screens/ProfileScreen.tsx b/web/apps/space/src/screens/ProfileScreen.tsx
index 110f75e9d8..03b201858a 100644
--- a/web/apps/space/src/screens/ProfileScreen.tsx
+++ b/web/apps/space/src/screens/ProfileScreen.tsx
@@ -1335,9 +1335,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
display: "grid",
gridTemplateColumns:
"minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr)",
- height: isOwnerProfile
- ? spaceTouchTargetSize
- : "32px",
+ height: "32px",
minWidth: 0,
position: "relative",
width: "100%",
@@ -1397,6 +1395,9 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
justifySelf: "start",
ml: "8px",
p: 0,
+ position: "absolute",
+ top: "50%",
+ transform: "translateY(-50%)",
width: spaceTouchTargetSize,
"&:focus-visible": {
borderRadius: "50%",