Skip to content

Commit

Permalink
fix: add no-repeat to background
Browse files Browse the repository at this point in the history
  • Loading branch information
oktapodia committed Jul 18, 2024
1 parent 8edc5ab commit 4a1aa8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/formatTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export function formatTheme(theme: PartnerThemesAttributes) {
backgroundColor: config.backgroundColor,
}),
...(config.backgroundImageUrl && {
background: `url('${config.backgroundImageUrl}') ${config.backgroundColor ?? ''}`,
background: `url('${config.backgroundImageUrl}') ${config.backgroundColor ?? ''} no-repeat center center / cover`,
}),
},
},
Expand Down

0 comments on commit 4a1aa8b

Please sign in to comment.