mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
tweaks
This commit is contained in:
@@ -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')}`}>
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user