File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,7 @@ export default function Layout() {
68
68
< span className = "header-menu__line" > </ span >
69
69
< span className = "header-menu__line" > </ span >
70
70
</ figure >
71
- < div
72
- className = "header-nav"
73
- style = {
74
- showMenu
75
- ? {
76
- opacity : 1 ,
77
- PointerEvents : "none" ,
78
- }
79
- : null
80
- }
81
- >
71
+ < div className = "header-nav" >
82
72
< CustomLink
83
73
to = "/projects"
84
74
onClick = { ( ) => setShowMenu ( false ) }
Original file line number Diff line number Diff line change @@ -179,8 +179,14 @@ export const LayoutWrapper = styled.div`
179
179
transform: translateX(3px) rotate(-45deg);
180
180
}
181
181
182
+ .header-menu--open + .header-nav {
183
+ opacity: 1;
184
+ pointer-events: initial;
185
+ }
186
+
182
187
.header-nav {
183
188
opacity: 0;
189
+ pointer-events: none;
184
190
position: fixed;
185
191
display: flex;
186
192
flex-direction: column;
@@ -192,6 +198,11 @@ export const LayoutWrapper = styled.div`
192
198
height: 100vh;
193
199
z-index: 5;
194
200
background: #fff;
201
+ > a {
202
+ font-size: 25px;
203
+ margin-left: 0 !important;
204
+ }
205
+
195
206
> a:not(:last-child) {
196
207
margin-bottom: 40px;
197
208
}
You can’t perform that action at this time.
0 commit comments