Skip to content

Commit b084efe

Browse files
authored
docs(faq): wrap image in url() in Vite imported image example (#3193)
1 parent 6ee54fd commit b084efe

File tree

1 file changed

+1
-1
lines changed
  • website/pages/docs/overview

1 file changed

+1
-1
lines changed

website/pages/docs/overview/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const Demo = () => {
5454
return (
5555
<p
5656
className={css({ bg: 'red.300', backgroundRepeat: 'repeat' })}
57-
style={{ backgroundImage: myImageBackground }}
57+
style={{ backgroundImage: `url("${myImageBackground}")` }}
5858
>
5959
Hello World
6060
</p>

0 commit comments

Comments
 (0)