@@ -14,6 +14,13 @@ export const HeaderContainer = styled.div`
1414 display: flex;
1515 align-items: center;
1616 justify-content: space-between;
17+
18+ @media (max-width: 1240px) {
19+ width: calc(100vw - 12.5rem);
20+ }
21+ @media ${ ( { theme } ) => theme . breakPoint [ 600 ] } {
22+ width: calc(100vw - 3rem);
23+ }
1724` ;
1825
1926export const LogoContainer = styled ( Link ) `
@@ -34,9 +41,12 @@ export const MenuNav = styled.div`
3441 gap: ${ ( { role } ) => ( role === 'admin' ? '1.5rem' : '2.25rem' ) } ;
3542` ;
3643
37- export const MenuStrokeItemWrapper = styled ( Link ) < { $isActive ?: boolean } > `
38- ${ ( { $isActive, theme } ) => {
39- const activeColor = $isActive ? theme . color . primary : theme . color . black ;
44+ export const MenuStrokeItemWrapper = styled ( Link ) < { isActive ?: boolean } > `
45+ @media (max-width: 300px) {
46+ width: 30px;
47+ }
48+ ${ ( { isActive, theme } ) => {
49+ const activeColor = isActive ? theme . color . primary : theme . color . black ;
4050 const hoverColor = theme . color . primary ;
4151 return `
4252 display: flex;
@@ -63,9 +73,12 @@ export const MenuStrokeItemWrapper = styled(Link)<{ $isActive?: boolean }>`
6373 } }
6474` ;
6575
66- export const MenuFillItemWrapper = styled ( Link ) < { $isActive ?: boolean } > `
67- ${ ( { $isActive, theme } ) => {
68- const activeColor = $isActive ? theme . color . primary : theme . color . black ;
76+ export const MenuFillItemWrapper = styled ( Link ) < { isActive ?: boolean } > `
77+ @media (max-width: 300px) {
78+ width: 30px;
79+ }
80+ ${ ( { isActive, theme } ) => {
81+ const activeColor = isActive ? theme . color . primary : theme . color . black ;
6982 const hoverColor = theme . color . primary ;
7083 return `
7184 display: flex;
@@ -78,7 +91,7 @@ export const MenuFillItemWrapper = styled(Link)<{ $isActive?: boolean }>`
7891 rect, path {fill:${ activeColor } ;}
7992 }
8093
81- &:hover{
94+ &:hover{
8295 span,
8396 & svg{
8497 color:${ hoverColor } ;
0 commit comments