ywana-core8 0.1.64 → 0.1.66
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -0
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/site.css +6 -0
- package/src/site/site.js +2 -1
package/package.json
CHANGED
package/src/site/site.css
CHANGED
package/src/site/site.js
CHANGED
@@ -283,9 +283,10 @@ const SitePage = ({ children, init }) => {
|
|
283
283
|
|
284
284
|
const allChildren = React.Children.toArray(children)
|
285
285
|
const current = allChildren.find(child => child.props?.id === displayedPage)
|
286
|
+
const fullscreen = current?.props?.fullscreen
|
286
287
|
|
287
288
|
return (
|
288
|
-
<main className={`site-page-container ${isExiting ? 'page-out' : 'page-in'}`}>
|
289
|
+
<main className={`site-page-container ${isExiting ? 'page-out' : 'page-in'} ${fullscreen ? 'fullscreen' : ''}`}>
|
289
290
|
{current}
|
290
291
|
</main>
|
291
292
|
)
|