From f14f1ab6bb0c9ff86ef10fa854d154f2c4fdcb0f Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 5 Feb 2025 10:12:55 +0530 Subject: [PATCH] User facing CL --- .../new/photos/components/WhatsNew.tsx | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/web/packages/new/photos/components/WhatsNew.tsx b/web/packages/new/photos/components/WhatsNew.tsx index a53becb16c..513f2dd43b 100644 --- a/web/packages/new/photos/components/WhatsNew.tsx +++ b/web/packages/new/photos/components/WhatsNew.tsx @@ -10,6 +10,7 @@ import { DialogContent, DialogContentText, DialogTitle, + Stack, Typography, styled, } from "@mui/material"; @@ -43,8 +44,11 @@ export const WhatsNew: React.FC = ({ open, onClose }) => { fullWidth > - - + + {ut("What's new")} @@ -73,27 +77,17 @@ const ChangelogContent: React.FC = () => { // below. return ( - -
  • - {ut("Light mode")} - - {ut( - "The much requested light mode is here. The app will automatically switch between light and dark mode based on your OS settings (You can manually override this is Preferences).", - )} - -
  • -
    + + {ut("Light mode ✨")} + + {ut( + "The much requested light mode is here. The app will automatically switch between the light and dark theme based on your OS settings. You can manually override this is Preferences.", + )} + + ); }; -const StyledUL = styled("ul")` - padding-inline: 1rem; - - li { - margin-block: 2rem; - } -`; - const ButtonContents = styled("div")` /* Make the button text fill the entire space so the endIcon shows at the trailing edge of the button. */