ywana-core8 0.0.499 → 0.0.500
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 +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +3 -3
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +1 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/site.css +3 -3
- package/src/site/site.js +2 -4
package/package.json
CHANGED
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 1fr auto;
|
7
|
-
grid-template-rows: var(--site-header-height) 1fr auto;
|
8
|
-
grid-template-areas: "header header nav nav" "menu main main aside" "footer footer footer footer";
|
7
|
+
grid-template-rows: var(--site-header-height) 1fr auto auto;
|
8
|
+
grid-template-areas: "header header nav nav" "menu main main aside" "footer footer footer footer" "console console console console";
|
9
9
|
background-color: var(--background-color);
|
10
10
|
}
|
11
11
|
|
@@ -112,7 +112,7 @@
|
|
112
112
|
}
|
113
113
|
|
114
114
|
.site6>.site-console {
|
115
|
-
grid-area:
|
115
|
+
grid-area: console;
|
116
116
|
min-height: 20rem;
|
117
117
|
background-color: rgb(222, 222, 222);
|
118
118
|
color: #000;
|
package/src/site/site.js
CHANGED
@@ -172,8 +172,6 @@ const SiteToolBar = ({ children }) => {
|
|
172
172
|
* Site Footer
|
173
173
|
*/
|
174
174
|
const SiteFooter = ({ children }) => {
|
175
|
-
const context = useContext(SiteContext)
|
176
|
-
const { breadcrumb } = context
|
177
175
|
return (
|
178
176
|
<footer>
|
179
177
|
{children}
|
@@ -317,7 +315,7 @@ const SiteConsole = () => {
|
|
317
315
|
}
|
318
316
|
|
319
317
|
return context.showConsole ? (
|
320
|
-
<
|
318
|
+
<div className="site-console" >
|
321
319
|
<Header>
|
322
320
|
<Tabs>
|
323
321
|
<Tab label="Console" />
|
@@ -329,6 +327,6 @@ const SiteConsole = () => {
|
|
329
327
|
<main>
|
330
328
|
{context.consoleLines.map((line,index) => <div key={`log-${index}`}>{line}</div>)}
|
331
329
|
</main>
|
332
|
-
</
|
330
|
+
</div>
|
333
331
|
) : ''
|
334
332
|
}
|