Skip to content

Commit

Permalink
fix(ui): corrections afer review
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinS-git committed Nov 14, 2024
1 parent 562c708 commit cf41cab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const AppShell = ({
{contentHeading || ""}
{embedded ? (
<>
<HeaderContainer>{topNavigation && topNavigation}</HeaderContainer>
<HeaderContainer>{topNavigation}</HeaderContainer>
<MainContainer>
<MainContainerInner
fullWidth={fullWidthContent === false ? false : true}
Expand All @@ -56,13 +56,13 @@ export const AppShell = ({
</>
) : (
<>
<HeaderContainer fullWidth={fullWidthContent === true ? true : false} className="">
<HeaderContainer fullWidth={fullWidthContent === true} className="">
{pageHeader && (typeof pageHeader === "string" || pageHeader instanceof String) ? (
<PageHeader heading={pageHeader} />
) : (
pageHeader
)}
{topNavigation && topNavigation}
{topNavigation}
{/* Wrap everything except page header and footer and navigations in a main container. Add top margin to MainContainerInner as we are not in embedded mode here. */}
</HeaderContainer>
<MainContainer>
Expand Down

0 comments on commit cf41cab

Please sign in to comment.