Add project backgrounds

This commit is contained in:
Maksim Eltyshev
2020-05-26 00:46:04 +05:00
parent af4297ac62
commit 3bb68b0d4f
67 changed files with 774 additions and 210 deletions

View File

@@ -60,7 +60,7 @@ const Item = React.memo(
<div
className={styles.thumbnail}
style={{
backgroundImage: coverUrl && `url(${coverUrl}`,
background: coverUrl && `url("${coverUrl}") center / cover`,
}}
>
{coverUrl ? (