diff --git a/src/pages/DetailPage/ui/DetailPage.styled.ts b/src/pages/DetailPage/ui/DetailPage.styled.ts index c237e06..c0d8e58 100644 --- a/src/pages/DetailPage/ui/DetailPage.styled.ts +++ b/src/pages/DetailPage/ui/DetailPage.styled.ts @@ -63,20 +63,20 @@ export const SubEmotionContainer = styled.div` export const ReactionShareWrap = styled.div` max-width: 960px; width: 100%; + height: 300px; display: flex; - align-items: center; justify-content: center; + align-items: center; + position: relative; `; export const ReactionContainer = styled.div` // background-color: rgb(0, 0, 0, 0.1); - max-width: 960px; - width: 100%; - height: 300px; `; export const ShareButtonContainer = styled.div` - // position: absolute; + position: absolute; + right: 0; `; export const ButtonContainer = styled.div` diff --git a/src/pages/DetailPage/ui/DetailPage.tsx b/src/pages/DetailPage/ui/DetailPage.tsx index 0b57ac9..0e42691 100644 --- a/src/pages/DetailPage/ui/DetailPage.tsx +++ b/src/pages/DetailPage/ui/DetailPage.tsx @@ -51,7 +51,7 @@ interface DiaryData { export const DetailPage = () => { const { email, userName, isLoggedin, setUserInfo } = useAuthStore(); - const token = localStorage.getItem('token') || ''; // 임시 + const token = localStorage.getItem('token') || ''; const { id } = useParams(); const [data, setData] = useState(null);