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:
@@ -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> :
|
||||
<></>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user