Skip to content

armgit / ente

Public Imported from GitHub
0

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

Use

Manav Rathi467dccf8bbdd
diff --git a/web/apps/photos/src/components/WatchFolder.tsx b/web/apps/photos/src/components/WatchFolder.tsx
index 60bd050048..0214507eda 100644
--- a/web/apps/photos/src/components/WatchFolder.tsx
+++ b/web/apps/photos/src/components/WatchFolder.tsx
@@ -1,3 +1,4 @@
+import { EllipsizedTypography } from "@/base/components/Typography";
import { ensureElectron } from "@/base/electron";
import { basename, dirname } from "@/base/file";
import type { CollectionMapping, FolderWatch } from "@/base/types/ipc";
@@ -307,15 +308,11 @@ const EntryHeading: React.FC<EntryHeadingProps> = ({ watch }) => {
};
const FolderPath: React.FC<React.PropsWithChildren> = ({ children }) => (
- <FolderPath_ variant="small">{children}</FolderPath_>
+ <EllipsizedTypography variant="small" color="text.muted">
+ {children}
+ </EllipsizedTypography>
);
-const FolderPath_ = styled(Typography)(({ theme }) => ({
- overflow: "hidden",
- textOverflow: "ellipsis",
- color: theme.colors.text.muted,
-}));
-
interface EntryOptionsProps {
confirmStopWatching: () => void;
}