Update src/components/layout/Background.tsx

Co-authored-by: Bjorn Lammers <walkxnl@gmail.com>
This commit is contained in:
Aimsucks
2022-06-08 18:09:59 -04:00
committed by GitHub
parent fed5f6df52
commit 74f87b570d

View File

@@ -8,8 +8,9 @@ export function Background() {
<Global <Global
styles={{ styles={{
body: { body: {
minHeight: '100vh',
backgroundImage: `url('${config.settings.background}')` || '', backgroundImage: `url('${config.settings.background}')` || '',
backgroundPosition: 'center', backgroundPosition: 'center center',
backgroundSize: 'cover', backgroundSize: 'cover',
backgroundRepeat: 'no-repeat', backgroundRepeat: 'no-repeat',
}, },