0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 21:02:49 +00:00

Put tags in individual spans

This commit is contained in:
Trevor Buckner
2022-09-05 23:31:23 -04:00
parent 746e8f8a6a
commit cae1bc9f0a
2 changed files with 10 additions and 1 deletions

View File

@@ -106,7 +106,8 @@ const BrewItem = createClass({
<div className='info'>
{brew.tags ? <>
<span className='brewTags' title={`Tags:\n${brew.tags.join('\n')}`}>
<i className='fas fa-tags'/> {brew.tags.join(', ')}
<i className='fas fa-tags'/>
{brew.tags.map((tag, idx)=>{return <><span>{tag}</span>{'\n'}</>;})}
</span>
<br />
</> : <></>