Skip to content

Commit

Permalink
fix : timeline테스트 및 타페이지css수정 (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
minjoon97 authored Nov 7, 2024
1 parent 0ed8f86 commit d9f561d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/entities/dataSldier/DateSlider.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export const MonthWeekSelectorWrapper = styled.div`
export const ArrowButton = styled.button`
background: none;
border: none;
font-size: 24px;
font-size: 20px;
color: rgba(0, 0, 0, 0.3);
cursor: pointer;
&:focus {
Expand Down
6 changes: 5 additions & 1 deletion src/features/chart/ui/EmotionChart.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ export const ChartButtonStlyed = styled.button`
background-color: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.17);
border-radius: 38px;
font-weight: bold;
&:hover {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.04);
}
`;

export const ChartWrapper = styled.div<SkeletonProps>`
Expand Down
6 changes: 5 additions & 1 deletion src/widgets/Mypage/Mypage.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import styled from 'styled-components';

export const MypageSpan = styled.span`
font-size: 16px;
display: inline-block;
padding: 1rem 0;
`;

export const ButtonStyled = styled.div`
Expand All @@ -10,6 +12,8 @@ export const ButtonStyled = styled.div`
`;

export const MypageStyled = styled.div`
width: 500px;
width: 90%;
max-width: 500px;
margin: auto;
padding-bottom: 150px;
`;
6 changes: 3 additions & 3 deletions src/widgets/Mypage/Mypage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Mypage = () => {
<InputForm
label="이름"
value={name}
width="500px"
width="100%"
height="52px"
onChange={setPhoneNumber}
placeholder="이름을 입력해주세요"
Expand All @@ -54,7 +54,7 @@ const Mypage = () => {
<InputForm
label="핸드폰 번호"
value={phoneNumber}
width="500px"
width="100%"
height="52px"
onChange={setName}
placeholder="이름을 입력해주세요"
Expand All @@ -68,7 +68,7 @@ const Mypage = () => {
label="비밀번호"
isPassword
value={password}
width="500px"
width="100%"
height="52px"
onChange={setPassword}
placeholder="비밀번호 입력 (문자, 숫자, 특수문자 8~20자)"
Expand Down
1 change: 1 addition & 0 deletions src/widgets/Sign/Sign.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ export const IdContainerStyled = styled.div`
export const SignStyled = styled.div`
width: 500px;
margin: auto;
padding-bottom: 150px;
`;
2 changes: 1 addition & 1 deletion src/widgets/timeline-container/TimelineContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const TimelineContainer: React.FC<TimelineContainerProps> = ({
queryClient.resetQueries({
queryKey: ['timeline', sort, email, ispublic]
});
}, [sort, email, queryClient]);
}, [sort, email, queryClient, ispublic]);

useEffect(() => {
if (inView && hasNextPage && !isFetchingNextPage) {
Expand Down

0 comments on commit d9f561d

Please sign in to comment.