mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:13:16 +08:00
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:
parent
18d7162481
commit
9c01937ec6
|
@ -27,7 +27,7 @@ body.wizard {
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding-top: 1.5em;
|
||||
background-image: url(../assets/bubbles-bg.png);
|
||||
background-image: absolute-image-url("/bubbles-bg.png");
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Loading…
Reference in New Issue
Block a user