Skip to content

Commit

Permalink
Merge pull request #138 from errhythm/og-date-bg
Browse files Browse the repository at this point in the history
Social Share Image: Update styles for petition preview image
  • Loading branch information
riya09 authored Nov 5, 2024
2 parents fc1108c + 48f523b commit 7c82f22
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ export default async function PetitionPreviewImage({
lineHeight: '2rem',
textAlign: 'right',
whiteSpace: 'nowrap',
backgroundColor: '#EF4335',
padding: '8px 16px',
borderRadius: '10px',
}}>
{created_at}
</div>
Expand Down Expand Up @@ -452,13 +455,16 @@ export default async function PetitionPreviewImage({
<div
style={{
position: 'absolute',
top: '426px',
left: '62px',
top: '416px',
left: '60px',
color: '#F7F2EE',
fontSize: '1.5rem',
fontWeight: '700',
fontFamily: inter.style.fontFamily,
lineHeight: '2rem',
background: '#EF4335',
padding: '4px 8px',
borderRadius: '10px',
}}>
Vote Now!
</div>
Expand Down

0 comments on commit 7c82f22

Please sign in to comment.