Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/layout/GenericLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function GenericLayout({
<Head title={title} description={description} image={image} />
<Container wide={wide}>
<div data-testid='GenericLayout-banner'>
<AnnouncementHero className={`m-4 text-center ${hideBanner && 'hidden'}`} small={true} />
<AnnouncementHero className={` my-4 text-center ${hideBanner && 'hidden'}`} small={true} />
</div>
<div id='main-content' data-testid='Generic-main'>
{children}
Expand Down
2 changes: 1 addition & 1 deletion components/layout/GenericPostLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function GenericPostLayout({ post, children }: IGenericPostLayout

return (
<GenericPostContext.Provider value={{ post }}>
<AnnouncementHero className='m-4 text-center' small={true} />
<AnnouncementHero className='my-4 text-center' small={true} />
<Container>
<main className='mt-8 px-4 sm:px-6' data-testid='GenericPostLayout-main-div'>
<header className='pr-4 sm:pr-6 md:pr-8'>
Expand Down
2 changes: 1 addition & 1 deletion components/layout/GenericWideLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function GenericWideLayout({
<>
<Head title={title} description={description} image={image} />
<Row>
<AnnouncementHero className='m-4 text-center' small={true} />
<AnnouncementHero className='my-4 text-center' small={true} />
{children}
</Row>
</>
Expand Down