π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(FileContextMenu):icon-updated
Aswin Asok202127ea8190
diff --git a/web/packages/new/photos/components/FileContextMenu.tsx b/web/packages/new/photos/components/FileContextMenu.tsxindex 8aa0f736e8..78ee273548 100644--- a/web/packages/new/photos/components/FileContextMenu.tsx+++ b/web/packages/new/photos/components/FileContextMenu.tsx@@ -140,7 +140,13 @@ export const FileContextMenu: React.FC<FileContextMenuProps> = memo(<StyledMenuItemkey={action}onClick={() => handleActionClick(action)}- sx={{ color: "critical.main" }}+ sx={{+ color: "critical.main",+ "&:hover": {+ backgroundColor: "critical.main",+ color: "#fff",+ },+ }}><ListItemIcon sx={{ color: "inherit" }}><Icon fontSize="small" />@@ -158,13 +164,31 @@ FileContextMenu.displayName = "FileContextMenu";const StyledMenu = styled(Menu)(({ theme }) => ({"& .MuiPaper-root": {- minWidth: 180,- borderRadius: 8,- boxShadow: theme.shadows[8],+ backgroundColor: "#1f1f1f",+ minWidth: 220,+ borderRadius: 12,+ boxShadow: "0 8px 24px rgba(0, 0, 0, 0.35)",+ marginTop: 6,},+ "& .MuiList-root": { padding: theme.spacing(1) },+ ...theme.applyStyles("dark", {+ "& .MuiPaper-root": {+ backgroundColor: "#161616",+ boxShadow: "0 8px 24px rgba(0, 0, 0, 0.6)",+ },+ }),}));const StyledMenuItem = styled(MenuItem)(({ theme }) => ({- padding: theme.spacing(1, 2),- "& .MuiListItemIcon-root": { minWidth: 32 },+ display: "flex",+ alignItems: "center",+ gap: 12,+ padding: theme.spacing(1.5, 2),+ borderRadius: 10,+ color: "#f5f5f5",+ fontSize: 15,+ "&:hover": { backgroundColor: "rgba(255, 255, 255, 0.08)" },+ "& .MuiListItemIcon-root": { minWidth: 0, color: "inherit" },+ "& .MuiListItemText-root": { margin: 0 },+ "& .MuiListItemText-primary": { color: "inherit", fontSize: "inherit" },}));