Skip to content

Commit

Permalink
feat: RuleEdit 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dydals3440 committed Feb 17, 2024
1 parent ec994f0 commit adbb025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
3 changes: 2 additions & 1 deletion src/pages/mate/ruleEdit/RuleEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const RuleEditPage = () => {
rulePairs: sortedRulePairs,
membersId: extractMembersId,
};
console.log(postDataWithId);

updateTeamMateRule(ruleId, { postDataWithId })
.then(() => {
Expand Down Expand Up @@ -155,7 +156,7 @@ const RuleEditPage = () => {
)}
</S.AddButtonWrapper>
</S.Wrapper>
<S.SubmitBtn onClick={handleSubmitRule}>저장하기</S.SubmitBtn>
<S.SubmitBtn onClick={handleSubmitRule}>수정하기</S.SubmitBtn>
</S.Container>
);
};
Expand Down
11 changes: 3 additions & 8 deletions src/pages/mate/ruleEdit/RuleEdit.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ import theme from '@/theme';

const Container = styled.div`
${theme.ALIGN.COLUMN_CENTER};
width: 100%;
height: 100%;
`;

const Wrapper = styled.div`
width: 80%;
height: 80%;
height: 900px;
overflow-y: scroll;
border: 2px solid ${theme.COLOR.MAIN.HEAVY_GREEN};
Expand All @@ -29,7 +27,7 @@ const Wrapper = styled.div`

const Header = styled.div`
${theme.ALIGN.COLUMN_CENTER};
gap: 3px;
gap: 20px;
h1 {
${theme.ALIGN.ROW_CENTER};
Expand All @@ -56,11 +54,8 @@ const PlusSvg = styled.img`
`;

const MatesContainer = styled.div`
display: flex;
${theme.ALIGN.ROW_CENTER};
gap: 2px;
width: 90%;
overflow: scroll;
flex: flex-end;
`;

const MatesImages = styled.img`
Expand Down

0 comments on commit adbb025

Please sign in to comment.