ywana-core8 0.0.314 → 0.0.317

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": "ywana-core8",
3
- "version": "0.0.314",
3
+ "version": "0.0.317",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
package/src/site/site.css CHANGED
@@ -4,8 +4,8 @@
4
4
  height: 100vh;
5
5
  display: grid;
6
6
  grid-template-columns: auto 1fr auto;
7
- grid-template-rows: var(--site-header-height) 1fr auto;
8
- grid-template-areas: "header nav nav" "menu main aside" "footer footer footer";
7
+ grid-template-rows: var(--site-header-height) 1fr 1fr auto;
8
+ grid-template-areas: "header header nav nav" "menu main main aside" "footer footer footer footer";
9
9
  background-color: var(--background-color);
10
10
  }
11
11
 
package/src/site/site.js CHANGED
@@ -193,9 +193,10 @@ const SiteMenu = ({ logo, title, children, min }) => {
193
193
 
194
194
  const style = sideNav === 'max' ? 'max' : 'min'
195
195
  const toggleIcon = sideNav === 'max' ? 'chevron_left' : 'chevron_right'
196
+ const menutTitle = sideNav === 'max' ? title : ''
196
197
  return (
197
198
  <menu className={`${style} ${showNav ? 'show' : ''}`}>
198
- <Header title="Menu" />
199
+ <Header title={menutTitle}/>
199
200
  <main >
200
201
  {Object.keys(sections).map(title => (
201
202
  <Fragment key={title}>