Skip to content

armgit / ente

Public Imported from GitHub
0

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

T

Manav Rathi623bb66fa7e3
diff --git a/web/apps/auth/src/pages/share.tsx b/web/apps/auth/src/pages/share.tsx
index c87c475e68..3de9acef8a 100644
--- a/web/apps/auth/src/pages/share.tsx
+++ b/web/apps/auth/src/pages/share.tsx
@@ -126,8 +126,8 @@ const Page: React.FC = () => {
)}
{timeStatus === 1 && <Message>The code has expired.</Message>}
{timeStatus === 0 && (
- <div
- style={{
+ <Box
+ sx={{
backgroundColor: "#1C1C1E",
borderRadius: "10px",
paddingBottom: "20px",
@@ -165,22 +165,26 @@ const Page: React.FC = () => {
position: "absolute",
right: "20px",
bottom: "20px",
- fontSize: "12px",
- opacity: 0.6,
}}
>
- <p style={{ margin: 0 }}>
+ <Typography
+ variant="mini"
+ sx={{ color: "text.faint" }}
+ >
{codeDisplay.nextCode === ""
? "Last code"
: "next"}
- </p>
+ </Typography>
{codeDisplay.nextCode !== "" && (
- <p style={{ margin: 0 }}>
+ <Typography
+ variant="mini"
+ sx={{ color: "text.faint" }}
+ >
{codeDisplay.nextCode}
- </p>
+ </Typography>
)}
</div>
- </div>
+ </Box>
)}
</Box>