FIX: Use correct location for wizard background image (#24183)

Files in `/assets/*` are given digests by sprockets, and we don't have any infrastructure for accessing those URLs in SCSS files. Instead, we should put this image with other similar images in the `public/images` directory, and then use the `absolute-image-url` helper so that it correctly uses the CDN where available.
This commit is contained in:
David Taylor 2023-10-31 15:57:47 +00:00 committed by GitHub
parent 18d7162481
commit 9c01937ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ body.wizard {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding-top: 1.5em; padding-top: 1.5em;
background-image: url(../assets/bubbles-bg.png); background-image: absolute-image-url("/bubbles-bg.png");
height: 100%; height: 100%;
} }

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB