Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix Space invite page spacing

Anand Baburajan0223afccedea
diff --git a/web/apps/space/src/pages/index.tsx b/web/apps/space/src/pages/index.tsx
index 0fa625bcba..031fa36643 100644
--- a/web/apps/space/src/pages/index.tsx
+++ b/web/apps/space/src/pages/index.tsx
@@ -107,6 +107,7 @@ const PublicFriendRequestScreen: React.FC<PublicFriendRequestScreenProps> = ({
color: "white",
display: "flex",
flexDirection: "column",
+ justifyContent: "space-between",
minHeight: { xs: "calc(100svh - 16px)", sm: "100svh" },
overflow: "hidden",
position: "relative",
@@ -167,13 +168,9 @@ const PublicFriendRequestScreen: React.FC<PublicFriendRequestScreenProps> = ({
display: "flex",
flexDirection: "column",
justifyContent: "center",
- left: "50%",
maxWidth: 390,
minHeight: 0,
- position: "absolute",
px: 3,
- top: "50%",
- transform: "translate(-50%, -50%)",
width: "100%",
}}
>
@@ -198,7 +195,6 @@ const PublicFriendRequestScreen: React.FC<PublicFriendRequestScreenProps> = ({
boxSizing: "border-box",
flexShrink: 0,
maxWidth: 390,
- mt: "auto",
mx: "auto",
pb: "calc(env(safe-area-inset-bottom) + 40px)",
px: 3,