File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
packages/docs/src/components Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
1
/** @jsx jsx */
2
2
import { jsx } from 'theme-ui'
3
3
4
- export default props => (
4
+ export default ( props ) => (
5
5
< button
6
6
{ ...props }
7
7
sx = { {
@@ -16,9 +16,6 @@ export default props => (
16
16
bg : 'muted' ,
17
17
border : 0 ,
18
18
borderRadius : 2 ,
19
- ':focus' : {
20
- outline : '2px solid' ,
21
- } ,
22
19
} }
23
20
/>
24
21
)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const Burger = ({ size = '1em' }) => (
16
16
</ svg >
17
17
)
18
18
19
- export default props => (
19
+ export default ( props ) => (
20
20
< button
21
21
title = "Toggle Menu"
22
22
{ ...props }
@@ -31,12 +31,7 @@ export default props => (
31
31
m : 0 ,
32
32
border : 0 ,
33
33
appearance : 'none' ,
34
- ':focus' : {
35
- outline : '2px solid' ,
36
- } ,
37
- '@media screen and (min-width: 40em)' : {
38
- display : 'none' ,
39
- } ,
34
+ display : [ null , 'none' ] ,
40
35
} } >
41
36
< Burger />
42
37
</ button >
You can’t perform that action at this time.
0 commit comments