@@ -14,6 +14,13 @@ export const HeaderContainer = styled.div`
14
14
display: flex;
15
15
align-items: center;
16
16
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
+ }
17
24
` ;
18
25
19
26
export const LogoContainer = styled ( Link ) `
@@ -34,9 +41,12 @@ export const MenuNav = styled.div`
34
41
gap: ${ ( { role } ) => ( role === 'admin' ? '1.5rem' : '2.25rem' ) } ;
35
42
` ;
36
43
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 ;
40
50
const hoverColor = theme . color . primary ;
41
51
return `
42
52
display: flex;
@@ -63,9 +73,12 @@ export const MenuStrokeItemWrapper = styled(Link)<{ $isActive?: boolean }>`
63
73
} }
64
74
` ;
65
75
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 ;
69
82
const hoverColor = theme . color . primary ;
70
83
return `
71
84
display: flex;
@@ -78,7 +91,7 @@ export const MenuFillItemWrapper = styled(Link)<{ $isActive?: boolean }>`
78
91
rect, path {fill:${ activeColor } ;}
79
92
}
80
93
81
- &:hover{
94
+ &:hover{
82
95
span,
83
96
& svg{
84
97
color:${ hoverColor } ;
0 commit comments