mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-25 09:22:58 +00:00
fixed spacing on grid
This commit is contained in:
@@ -133,7 +133,7 @@ const BrewItem = ({
|
|||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
<span className='brewAuthors' title={`Authors:\n${brew.authors?.join('\n')}`}>
|
<div className='brewAuthors' title={`Authors:\n${brew.authors?.join('\n')}`}>
|
||||||
<i className='fas fa-user' />{' '}
|
<i className='fas fa-user' />{' '}
|
||||||
{brew.authors?.map((author, index)=>(
|
{brew.authors?.map((author, index)=>(
|
||||||
<React.Fragment key={index}>
|
<React.Fragment key={index}>
|
||||||
@@ -145,7 +145,7 @@ const BrewItem = ({
|
|||||||
{index < brew.authors.length - 1 && ', '}
|
{index < brew.authors.length - 1 && ', '}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</span>
|
</div>
|
||||||
{brew.pageCount && (
|
{brew.pageCount && (
|
||||||
<span className='brewPages' aria-label={`${brew.pageCount} pages`} title={`Page count: ${brew.pageCount}`}>
|
<span className='brewPages' aria-label={`${brew.pageCount} pages`} title={`Page count: ${brew.pageCount}`}>
|
||||||
<span aria-hidden='true'><i className='far fa-file' /> {brew.pageCount}</span>
|
<span aria-hidden='true'><i className='far fa-file' /> {brew.pageCount}</span>
|
||||||
|
|||||||
@@ -175,9 +175,11 @@
|
|||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
}
|
||||||
}
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.brewTags span {
|
.brewTags span {
|
||||||
|
|||||||
Reference in New Issue
Block a user