π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge branch 'main' into feat/people-search-option
Aswin Asok8de76795e15d
diff --cc web/packages/base/components/OverflowMenu.tsxindex 873885a8ca,703c50c402..f286c6ad00--- a/web/packages/base/components/OverflowMenu.tsx+++ b/web/packages/base/components/OverflowMenu.tsx@@@ -115,9 -115,9 +115,13 @@@ interface OverflowMenuOptionProps*/selected?: boolean;/**+ * If true, reduce spacing and sizing for dense menus.+ */+ compact?: boolean;+++ * If true, the option is shown disabled and cannot be selected.+ */+ disabled?: boolean;}/**@@@ -131,7 -131,7 +135,8 @@@ export const OverflowMenuOption: React.startIcon,endIcon,selected,+ compact,+ disabled,children,}) => {const menuContext = useContext(OverflowMenuContext);@@@ -150,12 -150,15 +155,16 @@@<MenuItemonClick={handleClick}selected={selected}+ disabled={disabled}sx={(theme) => ({- minWidth: 220,+ minWidth: compact ? 176 : 220,- color: theme.vars.palette[color].main,+ color: disabled+ ? theme.vars.palette.text.muted+ : theme.vars.palette[color].main,++// Reduce the size of the icons a bit to make it fit better with// the text.- "& .MuiSvgIcon-root": { fontSize: "20px" },+ "& .MuiSvgIcon-root": { fontSize: compact ? "18px" : "20px" },...(selected && {backgroundColor: "rgba(255, 255, 255, 0.08)","&:hover": { backgroundColor: "rgba(255, 255, 255, 0.12)" },