@brillout/docpress 0.9.5 → 0.9.6

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/Layout.tsx CHANGED
@@ -277,7 +277,7 @@ function NavHead({ isNavLeft }: { isNavLeft?: true }) {
277
277
  }}
278
278
  >
279
279
  <TopNavigation />
280
- <div className="desktop-grow" />
280
+ {!isNavLeft && <div className="desktop-grow" />}
281
281
  <NavSecondaryContent
282
282
  style={{
283
283
  display: 'inline-flex',
@@ -324,7 +324,7 @@ function NavHead({ isNavLeft }: { isNavLeft?: true }) {
324
324
  }}
325
325
  >
326
326
  <NavLogo className="mobile-grow-half" />
327
- <div className="desktop-grow" />
327
+ {!isNavLeft && <div className="desktop-grow" />}
328
328
  <SearchLink className="mobile-grow-half" style={linkStyle} />
329
329
  <MenuLink className="mobile-grow-full" style={linkStyle} />
330
330
  {navSecondaryContent}
package/dist/Layout.js CHANGED
@@ -184,7 +184,7 @@ function NavHead(_a) {
184
184
  width: mainViewMax, // guaranteed real estate
185
185
  })) },
186
186
  React.createElement(TopNavigation, null),
187
- React.createElement("div", { className: "desktop-grow" }),
187
+ !isNavLeft && React.createElement("div", { className: "desktop-grow" }),
188
188
  React.createElement(NavSecondaryContent, { style: {
189
189
  display: 'inline-flex',
190
190
  fontSize: '1.06em',
@@ -218,7 +218,7 @@ function NavHead(_a) {
218
218
  _b.justifyContent = 'center',
219
219
  _b) },
220
220
  React.createElement(NavLogo, { className: "mobile-grow-half" }),
221
- React.createElement("div", { className: "desktop-grow" }),
221
+ !isNavLeft && React.createElement("div", { className: "desktop-grow" }),
222
222
  React.createElement(SearchLink, { className: "mobile-grow-half", style: linkStyle }),
223
223
  React.createElement(MenuLink, { className: "mobile-grow-full", style: linkStyle }),
224
224
  navSecondaryContent)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@brillout/picocolors": "^1.0.10",