Skip to content

Commit

Permalink
remove custom outline from buttons in navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed May 21, 2020
1 parent 19e84f8 commit e630712
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
5 changes: 1 addition & 4 deletions packages/docs/src/components/button.js
@@ -1,7 +1,7 @@
/** @jsx jsx */
import { jsx } from 'theme-ui'

export default props => (
export default (props) => (
<button
{...props}
sx={{
Expand All @@ -16,9 +16,6 @@ export default props => (
bg: 'muted',
border: 0,
borderRadius: 2,
':focus': {
outline: '2px solid',
},
}}
/>
)
9 changes: 2 additions & 7 deletions packages/docs/src/components/menu-button.js
Expand Up @@ -16,7 +16,7 @@ const Burger = ({ size = '1em' }) => (
</svg>
)

export default props => (
export default (props) => (
<button
title="Toggle Menu"
{...props}
Expand All @@ -31,12 +31,7 @@ export default props => (
m: 0,
border: 0,
appearance: 'none',
':focus': {
outline: '2px solid',
},
'@media screen and (min-width: 40em)': {
display: 'none',
},
display: [null, 'none'],
}}>
<Burger />
</button>
Expand Down

0 comments on commit e630712

Please sign in to comment.