Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix regression in date color

Manav Rathi14bc47c0556f
diff --git a/web/apps/photos/src/components/FileList.tsx b/web/apps/photos/src/components/FileList.tsx
index 1685ec9cb3..e10d79ea62 100644
--- a/web/apps/photos/src/components/FileList.tsx
+++ b/web/apps/photos/src/components/FileList.tsx
@@ -848,13 +848,15 @@ const asFullSpanListItem = ({ item, ...rest }: FileListHeaderOrFooter) => ({
*/
const dateContainerHeight = 48;
-const DateContainer = styled(ListItemContainer)`
+const DateContainer = styled(ListItemContainer)(
+ ({ theme }) => `
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
height: ${dateContainerHeight}px;
- color: "text.muted";
-`;
+ color: ${theme.vars.palette.text.muted};
+`,
+);
const NoFilesContainer = styled(ListItemContainer)`
text-align: center;