From 5be21a9d76f6d277f9725445f49333f3e6e534d1 Mon Sep 17 00:00:00 2001 From: keiko233 Date: Sun, 11 Feb 2024 23:40:09 +0800 Subject: [PATCH] feat: make profile material you --- src/components/profile/profile-box.tsx | 2 +- src/components/profile/profile-item.tsx | 3 +++ src/pages/profiles.scss | 3 +++ src/pages/profiles.tsx | 15 ++++++++++++--- 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 src/pages/profiles.scss diff --git a/src/components/profile/profile-box.tsx b/src/components/profile/profile-box.tsx index ad9d79b968..f733ffc31c 100644 --- a/src/components/profile/profile-box.tsx +++ b/src/components/profile/profile-box.tsx @@ -36,7 +36,7 @@ export const ProfileBox = styled(Box)(({ textAlign: "left", borderRadius: theme.shape.borderRadius, boxShadow: theme.shadows[2], - padding: "8px 16px", + padding: "10px 14px", boxSizing: "border-box", backgroundColor, color, diff --git a/src/components/profile/profile-item.tsx b/src/components/profile/profile-item.tsx index a9302e4e39..dba06a590c 100644 --- a/src/components/profile/profile-item.tsx +++ b/src/components/profile/profile-item.tsx @@ -217,6 +217,9 @@ export const ProfileItem = (props: Props) => { setAnchorEl(event.currentTarget); event.preventDefault(); }} + sx={{ + borderRadius: 4, + }} > {activating && ( {t("Import")} @@ -348,6 +354,9 @@ export default function ProfilePage() { variant="contained" size="small" onClick={() => viewerRef.current?.create()} + sx={{ + borderRadius: 4, + }} > {t("New")} @@ -359,14 +368,14 @@ export default function ProfilePage() { onDragEnd={onDragEnd} > - + { return x.uid; })} > {regularItems.map((item) => ( - +