Skip to content

Commit df11054

Browse files
author
Sergei Orlov
committed
🐛 Fix prose container width
1 parent 9274fe7 commit df11054

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/components/footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const Footer = () => {
2323
itemScope
2424
itemType='http://schema.org/SiteNavigationElement'
2525
>
26-
<ul className='flex flex-row space-x-6'>
26+
<ul className='flex flex-row space-x-4 flex-wrap w-full'>
2727
{links.map(({ title, icon, href }) => (
2828
<li key={title}>
2929
<meta itemProp='name' content={title} />

src/templates/blog-post-template.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ const PageTemplate = ({ data }) => {
3030
url={post.frontmatter.Slug}
3131
// image={post.frontmatter.imageShare.publicURL}
3232
/>
33-
<article className='flex flex-col w-full' itemScope itemType='http://schema.org/Article'>
33+
<article
34+
className='flex flex-col w-full overflow-x-hidden'
35+
itemScope
36+
itemType='http://schema.org/Article'
37+
>
3438
<BackgroundImage
3539
className='w-full px-3 pt-40 lg:pt-64 overflow-hidden relative'
3640
Tag='section'
@@ -63,7 +67,7 @@ const PageTemplate = ({ data }) => {
6367
)}
6468
</BackgroundImage>
6569

66-
<div className='p-5 self-center'>
70+
<div className='p-5 self-center max-w-full'>
6771
<p className='uppercase text-gray-400 text-sm text-right'>
6872
Credit goes to: {post.frontmatter.Hero_Alt}
6973
</p>

0 commit comments

Comments
 (0)