@t2ca/gatsby-theme-showcase 1.0.73 → 1.0.74
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 +1 -1
- package/src/components/header.js +7 -3
package/package.json
CHANGED
package/src/components/header.js
CHANGED
|
@@ -60,7 +60,7 @@ export default ({
|
|
|
60
60
|
bg: "transparent",
|
|
61
61
|
border: 0,
|
|
62
62
|
color: "text",
|
|
63
|
-
display: ["initial", "initial", "none"],
|
|
63
|
+
display: ["initial", "initial", "initial", "none"],
|
|
64
64
|
fontFamily: "inherit",
|
|
65
65
|
fontSize: 24,
|
|
66
66
|
p: 0,
|
|
@@ -128,7 +128,7 @@ export default ({
|
|
|
128
128
|
height: 59,
|
|
129
129
|
}}
|
|
130
130
|
>
|
|
131
|
-
<div sx={{ display: ["none", "none", "inherit"] }}>
|
|
131
|
+
<div sx={{ display: ["none", "none", "none", "inherit"] }}>
|
|
132
132
|
{menuList &&
|
|
133
133
|
menuList.map(({ node: { label, link, id } }) => (
|
|
134
134
|
<NavLink key={id} to={link}>
|
|
@@ -137,7 +137,11 @@ export default ({
|
|
|
137
137
|
))}
|
|
138
138
|
</div>
|
|
139
139
|
|
|
140
|
-
{button ?
|
|
140
|
+
{button ? (
|
|
141
|
+
<div sx={{ display: ["none", "none", "inherit"], px: 3 }}>
|
|
142
|
+
{button}
|
|
143
|
+
</div>
|
|
144
|
+
) : null}
|
|
141
145
|
|
|
142
146
|
<ColorModeToggle />
|
|
143
147
|
</div>
|