0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-19 14:12:40 +00:00

Apply Gazook89's thumbnail style

This commit is contained in:
G.Ambatte
2022-09-21 18:38:45 +12:00
parent a179f8d124
commit f218f48f0f
2 changed files with 11 additions and 15 deletions

View File

@@ -102,8 +102,7 @@ const BrewItem = createClass({
return <div className='brewItem'>
{brew.thumbnail ?
<div className='thumbnail'>
<img className='thumbnailImage' src={brew.thumbnail} ></img>
<div className='thumbnail' style={{ backgroundImage: `url(${brew.thumbnail})` }} >
</div> :
<></>
}