Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tweaks

Manav Rathi8cde630e01e3
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
index e231929db4..d45cd7002d 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
@@ -503,7 +503,8 @@ const RawExif: React.FC<RawExifProps> = ({
return [key, namespace, tagName, description] as const;
});
})
- .flat();
+ .flat()
+ .filter(([, , , description]) => description);
return (
<FileInfoSidebar open={open} onClose={onClose}>
@@ -522,14 +523,17 @@ const RawExif: React.FC<RawExifProps> = ({
<Stack py={3} px={1} spacing={2}>
{items.map(([key, namespace, tagName, description]) => (
<ExifItem key={key}>
- <Box gap={1}>
+ <Stack
+ direction={"row"}
+ gap={1}
+ >
<Typography variant="small" color={"text.muted"}>
{tagName}
</Typography>
- <Typography variant="small" color={"text.faint"}>
+ <Typography variant="tiny" color={"text.faint"}>
{namespace}
</Typography>
- </Box>
+ </Stack>
<Typography
sx={{
width: "100%",