π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
row-reverse is (a) infrequently needed, and (b) causes a accessibility disconnect
Manav Rathic7191ae7f0e2
diff --git a/web/apps/photos/src/components/Sidebar/index.tsx b/web/apps/photos/src/components/Sidebar/index.tsxindex db393b0056..f81dd090a0 100644--- a/web/apps/photos/src/components/Sidebar/index.tsx+++ b/web/apps/photos/src/components/Sidebar/index.tsx@@ -621,7 +621,6 @@ const ExitSection: React.FC = () => {showMiniDialog({title: t("logout_message"),continue: { text: t("logout"), color: "critical", action: logout },- buttonDirection: "row"});return (diff --git a/web/packages/base/components/MiniDialog.tsx b/web/packages/base/components/MiniDialog.tsxindex ff124a035e..2ae838f7ee 100644--- a/web/packages/base/components/MiniDialog.tsx+++ b/web/packages/base/components/MiniDialog.tsx@@ -104,8 +104,6 @@ export interface MiniDialogAttributes {* Set this to `false` to omit the cancel button altogether.*/cancel?: string | false;- /** The direction in which the buttons are stacked. Default is "column". */- buttonDirection?: "row" | "column";}type MiniDialogProps = Omit<DialogProps, "onClose"> & {@@ -193,14 +191,7 @@ export const AttributedMiniDialog: React.FC<</Typography>)}{children}- <Stack- sx={{ paddingBlockStart: "24px", gap: "12px" }}- direction={- attributes.buttonDirection == "row"- ? "row-reverse"- : "column"- }- >+ <Stack sx={{ paddingBlockStart: "24px", gap: "12px" }}>{phase == "failed" && (<Typography variant="small" color="critical.main">{t("generic_error")}diff --git a/web/packages/new/photos/components/MLSettings.tsx b/web/packages/new/photos/components/MLSettings.tsxindex 2401899824..4099962db3 100644--- a/web/packages/new/photos/components/MLSettings.tsx+++ b/web/packages/new/photos/components/MLSettings.tsx@@ -289,7 +289,6 @@ const ManageML: React.FC<ManageMLProps> = ({ mlStatus, onDisableML }) => {color: "critical",action: onDisableML,},- buttonDirection: "row",});return (