@t2ca/gatsby-theme-showcase 1.2.12 → 1.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t2ca/gatsby-theme-showcase",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "peerDependencies": {
20
20
  "gatsby": "^3.0.0",
21
- "react": "^17.0.1",
22
- "react-dom": "^17.0.1"
21
+ "react": "^17.0.1 || alpha",
22
+ "react-dom": "^17.0.1 || alpha"
23
23
  },
24
24
  "dependencies": {
25
25
  "@theme-ui/components": "^0.10.0",
@@ -21,7 +21,7 @@ const Burger = () => (
21
21
  )
22
22
 
23
23
  export default ({
24
- styles = false,
24
+ styles,
25
25
  menuOpen,
26
26
  setMenuOpen,
27
27
  svgLogo,
@@ -31,7 +31,16 @@ export default ({
31
31
  button,
32
32
  }) => {
33
33
  return (
34
- <div sx={{ position: `fixed`, zIndex: `100`, width: `100%` }}>
34
+ <div
35
+ sx={{
36
+ left: 0,
37
+ position: `fixed`,
38
+ right: 0,
39
+ top: 0,
40
+ width: `100%`,
41
+ zIndex: `100`,
42
+ }}
43
+ >
35
44
  {alert && <Alert variant="banner">{alertMsg}</Alert>}
36
45
  <Box
37
46
  p={4}
@@ -8,7 +8,7 @@ import Header from "./header"
8
8
  import Footer from "./footer"
9
9
  import Sidebar from "./sidebar"
10
10
 
11
- const Layout = ({ children, noBorder, alert }) => {
11
+ const Layout = ({ children, noBorder = false, alert }) => {
12
12
  const [menuOpen, setMenuOpen] = useState(false)
13
13
 
14
14
  return (