Skip to content

Commit

Permalink
style(SLB-295): adjust breadcrumb positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Luqmaan Essop committed May 14, 2024
1 parent eb666ac commit 7afcfe7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui/src/components/Organisms/PageDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ export function PageDisplay(page: PageFragment) {
return (
<PageTransition>
<div>
{!page.hero && <BreadCrumbs className="mx-auto px-3.5" />}
{page.hero && <PageHero {...page.hero} />}
<div className="bg-white pt-5 pb-12 px-6 lg:px-8">
<BreadCrumbs className="mx-auto max-w-3xl" />
{page.hero && <BreadCrumbs className="mx-auto max-w-3xl" />}
<div className="mx-auto max-w-3xl text-base leading-7 text-gray-700">
{page?.content?.filter(isTruthy).map((block, index) => {
switch (block.__typename) {
Expand Down

0 comments on commit 7afcfe7

Please sign in to comment.