11import React from 'react'
22import { Box , Link } from '@primer/react'
3- import BorderBox from './border-box'
43import { XIcon , ThreeBarsIcon } from '@primer/octicons-react'
54import { Link as GatsbyLink } from 'gatsby'
65import DarkButton from './dark-button'
@@ -44,7 +43,7 @@ function NavDrawer({location, repositoryUrl}) {
4443 style = { { overflow : 'auto' , WebkitOverflowScrolling : 'touch' } }
4544 >
4645 < Box display = "flex" flexDirection = "column" flex = "1 0 auto" color = "gray.7" bg = "gray.0" >
47- < BorderBox borderWidth = { 0 } borderRadius = { 0 } borderBottomWidth = { 1 } borderColor = "gray.7" >
46+ < Box borderStyle = "solid" borderWidth = { 0 } borderRadius = { 0 } borderBottomWidth = { 1 } borderColor = "gray.7" >
4847 < Box
4948 display = "flex"
5049 py = { 3 }
@@ -62,7 +61,7 @@ function NavDrawer({location, repositoryUrl}) {
6261 < XIcon />
6362 </ DarkButton >
6463 </ Box >
65- </ BorderBox >
64+ </ Box >
6665 { navItems . length > 0 ? (
6766 < Box display = "flex" flexDirection = "column" >
6867 < NavItems location = { location } items = { navItems } repositoryUrl = { repositoryUrl } />
@@ -82,7 +81,8 @@ function NavDrawer({location, repositoryUrl}) {
8281
8382function HeaderNavItems ( { items} ) {
8483 return items . map ( ( item , index ) => (
85- < BorderBox
84+ < Box
85+ borderStyle = "solid"
8686 key = { item . title }
8787 borderWidth = { 0 }
8888 borderRadius = { 0 }
@@ -93,7 +93,7 @@ function HeaderNavItems({items}) {
9393 < Link key = { index } href = { item . url } sx = { { color : 'inherit' , display : 'block' } } >
9494 { item . title }
9595 </ Link >
96- </ BorderBox >
96+ </ Box >
9797 ) )
9898}
9999
0 commit comments