mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 19:22:52 +00:00
Adjust tag styling
This commit is contained in:
@@ -35,7 +35,11 @@ const MetadataNav = createClass({
|
||||
|
||||
getTags : function(){
|
||||
if(!this.props.brew.tags) return 'No tags';
|
||||
return this.props.brew.tags.join(', ');
|
||||
return <>
|
||||
{this.props.brew.tags.map((tag, idx)=>{
|
||||
return <span className='tag' key={idx}>{tag}</span>;
|
||||
})}
|
||||
</>;
|
||||
},
|
||||
|
||||
getSystems : function(){
|
||||
|
||||
Reference in New Issue
Block a user