Skip to content

armgit / ente

Public Imported from GitHub
0

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

Use

Manav Rathif3dae23e2a57
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
index 4827059278..a1c771a795 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
@@ -1,5 +1,6 @@
import { EnteDrawer } from "@/base/components/EnteDrawer";
import { Titlebar } from "@/base/components/Titlebar";
+import { EllipsizedTypography } from "@/base/components/Typography";
import { nameAndExtension } from "@/base/file";
import log from "@/base/log";
import type { ParsedMetadata } from "@/media/file-metadata";
@@ -609,16 +610,13 @@ const RawExif: React.FC<RawExifProps> = ({
{namespace}
</Typography>
</Stack>
- <Typography
+ <EllipsizedTypography
sx={{
width: "100%",
- textOverflow: "ellipsis",
- whiteSpace: "nowrap",
- overflow: "hidden",
}}
>
{description}
- </Typography>
+ </EllipsizedTypography>
</ExifItem>
))}
</Stack>