0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00
This commit is contained in:
Trevor Buckner
2022-09-06 01:00:38 -04:00
parent cae1bc9f0a
commit e0d8846c44
2 changed files with 9 additions and 8 deletions

View File

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

View File

@@ -29,7 +29,7 @@
.info{
position: initial;
bottom: 2px;
font-family : ScalySans;
font-family : ScalySansRemake;
font-size : 1.2em;
&>span{
margin-right : 12px;
@@ -38,11 +38,13 @@
}
.brewTags span {
background-color: #c8ac6e3b;
margin-left: 2px;
border-radius: 0.5em;
padding: 1px 4px;
margin: 2px;
padding: 2px;
border: 1px solid #c8ac6e;
border-radius: 4px;
white-space: nowrap;
display: inline-block;
font-weight: bold;
}
&:hover{
.links{