From 5fcdc037e2435f68ae58f1c86a35d8c9a5f08877 Mon Sep 17 00:00:00 2001 From: hsuifang Date: Tue, 16 Jan 2024 22:05:59 +0800 Subject: [PATCH] fix(sign): define BaseUrl and modify style --- components/Profile/Edit/Edit.styled.jsx | 2 +- components/Profile/UserTabs/UserTabs.styled.jsx | 1 + components/Profile/index.jsx | 3 +++ constants/category.js | 10 +++++----- constants/common.js | 2 ++ pages/login/index.jsx | 11 ++--------- pages/profile/index.jsx | 10 ++++++++-- redux/sagas/partnersSaga.js | 8 +++----- redux/sagas/user/index.js | 12 ++++-------- 9 files changed, 29 insertions(+), 30 deletions(-) create mode 100644 constants/common.js diff --git a/components/Profile/Edit/Edit.styled.jsx b/components/Profile/Edit/Edit.styled.jsx index 4e125605..5b069767 100644 --- a/components/Profile/Edit/Edit.styled.jsx +++ b/components/Profile/Edit/Edit.styled.jsx @@ -15,7 +15,7 @@ export const ContentWrapper = styled.div` margin: 0 auto; width: 672px; @media (max-width: 767px) { - width: 80%; + width: 100%; .title { text-overflow: ellipsis; width: 100%; diff --git a/components/Profile/UserTabs/UserTabs.styled.jsx b/components/Profile/UserTabs/UserTabs.styled.jsx index 4ad3d598..3662d6ab 100644 --- a/components/Profile/UserTabs/UserTabs.styled.jsx +++ b/components/Profile/UserTabs/UserTabs.styled.jsx @@ -42,6 +42,7 @@ export const StyledPanelText = styled(Box)` flex-direction: column; span { margin-left: 0px; + place-items: start; } } `; diff --git a/components/Profile/index.jsx b/components/Profile/index.jsx index ede32ae5..6568b6c5 100644 --- a/components/Profile/index.jsx +++ b/components/Profile/index.jsx @@ -89,6 +89,9 @@ const Profile = ({ sx={{ position: 'relative', mb: '10px', + '@media (max-width: 767px)': { + width: '100%', + }, }} >