Skip to content

Commit 5884f72

Browse files
committed
refactor(Header): 스타일 단위 수정 (px > rem)
1 parent 378082e commit 5884f72

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

frontend/src/components/Header/Header.style.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ export const HeaderContainer = styled.nav`
1313
width: 100%;
1414
1515
background: white;
16-
border-bottom: 0.125rem solid ${theme.color.light.secondary_200};
16+
border-bottom: 2px solid ${theme.color.light.secondary_200};
1717
`;
1818

1919
export const HeaderContentContainer = styled.div`
2020
display: flex;
21-
gap: 60px;
21+
gap: 3.75rem;
2222
align-items: center;
2323
24-
width: 1280px;
25-
max-width: 1280px;
26-
height: 64px;
27-
padding: 30px;
24+
width: 80rem;
25+
max-width: 80rem;
26+
height: 4rem;
27+
padding: 1.875rem;
2828
2929
white-space: nowrap;
3030
`;
@@ -42,19 +42,19 @@ export const NewTemplateButton = styled.button`
4242
align-items: center;
4343
justify-content: center;
4444
45-
width: 120px;
46-
height: 38px;
45+
width: 7.5rem;
46+
height: 2.375rem;
4747
4848
background-color: white;
49-
border: 0.125rem solid ${theme.color.light.primary_800};
50-
border-radius: 0.5rem;
49+
border: 2px solid ${theme.color.light.primary_800};
50+
border-radius: 8px;
5151
`;
5252

5353
export const UserMenuButton = styled.button`
5454
cursor: pointer;
5555
56-
width: 38px;
57-
height: 38px;
56+
width: 2.375rem;
57+
height: 2.375rem;
5858
5959
color: ${theme.color.light.primary_800};
6060

0 commit comments

Comments
 (0)