mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 04:12:43 +00:00
tweaks
This commit is contained in:
@@ -105,11 +105,10 @@ const BrewItem = createClass({
|
|||||||
<hr />
|
<hr />
|
||||||
<div className='info'>
|
<div className='info'>
|
||||||
{brew.tags ? <>
|
{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'/>
|
<i className='fas fa-tags'/>
|
||||||
{brew.tags.map((tag, idx)=>{return <><span>{tag}</span>{'\n'}</>;})}
|
{brew.tags.map((tag, idx)=>{return <span>{tag}</span>;})}
|
||||||
</span>
|
</div>
|
||||||
<br />
|
|
||||||
</> : <></>
|
</> : <></>
|
||||||
}
|
}
|
||||||
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
|
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
.info{
|
.info{
|
||||||
position: initial;
|
position: initial;
|
||||||
bottom: 2px;
|
bottom: 2px;
|
||||||
font-family : ScalySans;
|
font-family : ScalySansRemake;
|
||||||
font-size : 1.2em;
|
font-size : 1.2em;
|
||||||
&>span{
|
&>span{
|
||||||
margin-right : 12px;
|
margin-right : 12px;
|
||||||
@@ -38,11 +38,13 @@
|
|||||||
}
|
}
|
||||||
.brewTags span {
|
.brewTags span {
|
||||||
background-color: #c8ac6e3b;
|
background-color: #c8ac6e3b;
|
||||||
margin-left: 2px;
|
margin: 2px;
|
||||||
border-radius: 0.5em;
|
padding: 2px;
|
||||||
padding: 1px 4px;
|
|
||||||
border: 1px solid #c8ac6e;
|
border: 1px solid #c8ac6e;
|
||||||
|
border-radius: 4px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
&:hover{
|
&:hover{
|
||||||
.links{
|
.links{
|
||||||
|
|||||||
Reference in New Issue
Block a user