File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,12 @@ export const Col = styled.div`
57
57
` ;
58
58
59
59
//
60
- export const Center = styled . li `
60
+ export const ElementCenter = styled . li `
61
+ display: flex;
62
+ justify-content: center;
63
+ ` ;
64
+
65
+ export const Center = styled . div `
61
66
display: flex;
62
67
justify-content: center;
63
68
` ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import { Center , links } from "./constants" ;
2
+ import { ElementCenter , links } from "./constants" ;
3
3
import styled from "styled-components" ;
4
4
import Logo_Transparent from "../images/logo/iGEMLogo_Transparent.svg" ;
5
5
import { useEffect , useRef , useState } from "react" ;
@@ -42,12 +42,12 @@ export default function Header() {
42
42
</ Link >
43
43
</ NavBar . li >
44
44
) ) }
45
- < Center >
45
+ < ElementCenter >
46
46
< CancelImageStyle
47
47
src = { CancelImage }
48
48
onClick = { ( ) => toggleDrawer ( false ) }
49
49
/>
50
- </ Center >
50
+ </ ElementCenter >
51
51
</ NavBar . Links >
52
52
</ NavBar . Wrapper >
53
53
) ;
You can’t perform that action at this time.
0 commit comments