mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
fix bg image issue
This commit is contained in:
1 parent
74bcc68962
commit
2f5edf9fdb
1 file changed
+5
-15
@@ -30,26 +30,16 @@ const components = {
|
||||
},
|
||||
ImageGrid,
|
||||
img: (props: any) => {
|
||||
const classes = [
|
||||
'next-image--dynamic-fill',
|
||||
'from-brand-500 to-brand-500',
|
||||
'rounded border bg-gradient-to-r via-blue-500',
|
||||
]
|
||||
|
||||
return (
|
||||
<div
|
||||
className="
|
||||
next-image--dynamic-fill
|
||||
to-scale-400
|
||||
from-scale-500 rounded-md
|
||||
border bg-gradient-to-r
|
||||
"
|
||||
to-scale-400
|
||||
from-scale-500 rounded-md
|
||||
border bg-gradient-to-r
|
||||
"
|
||||
>
|
||||
<Image
|
||||
{...props}
|
||||
className="next-image--dynamic-fill to-brand-1000 from-brand-900 rounded-md border bg-gradient-to-r"
|
||||
layout="fill"
|
||||
/>
|
||||
<Image {...props} className="next-image--dynamic-fill rounded-md border" layout="fill" />
|
||||
</div>
|
||||
)
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user