Skip to content

Commit

Permalink
fix(global): 🐛 the nav bar is overlapping with the body section has b…
Browse files Browse the repository at this point in the history
…een fixed

the body section is coming under the navbar instead it is overlapping for which we are not able the see the full content has been fixed

Ref: #129
  • Loading branch information
arkaprota committed Jul 16, 2024
1 parent ec0cbad commit 0ff2eea
Showing 1 changed file with 33 additions and 24 deletions.
57 changes: 33 additions & 24 deletions src/components/layouts/WrappidAppLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,47 @@ export default function WrappidAppLayout() {

return (
<>
<CoreLayoutPlaceholder id={WrappidAppLayout.PLACEHOLDER.CONTENT} />

<CoreBox styleClasses={[CoreClasses.DISPLAY.FLEX]}>
<CoreCssBaseline/>

<CoreCssBaseline />

<CoreAppBar logo={resources?.appLogo} leftMenuEnabled={false} />

</CoreBox>
<CoreBox
component="main"
styleClasses={[CoreClasses.LAYOUT.CONTENT_CONTAINER, CoreClasses.LAYOUT.APPBAR_HEIGHT]}
>

<CoreLayoutPlaceholder id={WrappidAppLayout.PLACEHOLDER.CONTENT} />

<CoreBox
styleClasses={[
CoreClasses.DISPLAY.FLEX,
CoreClasses.FLEX.DIRECTION_ROW,
CoreClasses.PADDING.P2,
CoreClasses.BG.BG_PRIMARY,
CoreClasses.ALIGNMENT.JUSTIFY_CONTENT_SPACE_BETWEEN,
]}
>
<CoreTypographyBody1>{packageData.name}</CoreTypographyBody1>

<CoreBox
styleClasses={[
CoreClasses.DISPLAY.FLEX,
CoreClasses.FLEX.DIRECTION_ROW,
CoreClasses.PADDING.P2,
CoreClasses.BG.BG_PRIMARY,
CoreClasses.ALIGNMENT.JUSTIFY_CONTENT_SPACE_BETWEEN,
]}
>
<CoreTypographyBody1>{packageData.name}</CoreTypographyBody1>

<CoreTypographyBody1>
Wrappid ©{new Date().getFullYear()}
</CoreTypographyBody1>

<CoreStack direction="row">
<CoreLink href={"/about"}>
<CoreTypographyBody1>
Version: {packageData.version}
Wrappid ©{new Date().getFullYear()}
</CoreTypographyBody1>
</CoreLink>
</CoreStack>

<CoreStack direction="row">
<CoreLink href={"/about"}>
<CoreTypographyBody1>
Version: {packageData.version}
</CoreTypographyBody1>
</CoreLink>
</CoreStack>
</CoreBox>

</CoreBox>

</CoreBox>

</>
);
}
Expand Down

0 comments on commit 0ff2eea

Please sign in to comment.