ywana-core8 0.0.313 → 0.0.316
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/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +7 -3
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +6 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/site.css +7 -3
- package/src/site/site.js +2 -0
package/package.json
CHANGED
package/src/site/site.css
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
display: grid;
|
6
6
|
grid-template-columns: auto 1fr auto;
|
7
7
|
grid-template-rows: var(--site-header-height) 1fr auto;
|
8
|
-
grid-template-areas: "header nav nav" "menu main aside" "footer footer footer";
|
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
|
|
@@ -35,7 +35,7 @@
|
|
35
35
|
grid-area: menu;
|
36
36
|
margin: 0;
|
37
37
|
border-right: solid 1px var(--divider-color);
|
38
|
-
padding:
|
38
|
+
padding: 0;
|
39
39
|
color: var(--site-menu-color);
|
40
40
|
background-color: var(--site-menu-bgcolor);
|
41
41
|
display: flex;
|
@@ -44,12 +44,16 @@
|
|
44
44
|
width: var(--site-menu-width);
|
45
45
|
}
|
46
46
|
|
47
|
+
.site6>menu>header {
|
48
|
+
border-bottom: solid 1px var(--divider-color);
|
49
|
+
}
|
50
|
+
|
47
51
|
.site6>menu.max {
|
48
52
|
width: 20rem;
|
49
53
|
}
|
50
54
|
|
51
55
|
.site6>menu>main {
|
52
|
-
padding: .
|
56
|
+
padding: .4rem;
|
53
57
|
}
|
54
58
|
|
55
59
|
.site6>menu>main>.section-title {
|
package/src/site/site.js
CHANGED
@@ -193,8 +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' : ''}`}>
|
199
|
+
<Header title={menutTitle}/>
|
198
200
|
<main >
|
199
201
|
{Object.keys(sections).map(title => (
|
200
202
|
<Fragment key={title}>
|