0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Eliminate spacer div in BrewItem

This commit is contained in:
G.Ambatte
2021-08-17 18:01:07 +12:00
parent cfb98986cd
commit ee006b6b16
2 changed files with 3 additions and 5 deletions

View File

@@ -107,8 +107,6 @@ const BrewItem = createClass({
<h2>{brew.title}</h2>
<p className='description'>{brew.description}</p>
<hr />
<div className='spacer'></div>
<div className='info'>
<span title={`Authors:\n${brew.authors.join('\n')}`}>
<i className='fas fa-user'/> {brew.authors.join(', ')}

View File

@@ -21,6 +21,9 @@
margin-bottom : 5px;
font-size : 2.2em;
}
.description{
padding-bottom : 30px;
}
.info{
position: absolute;
bottom: 0px;
@@ -69,7 +72,4 @@
padding : 0px;
margin : -5px;
}
.spacer {
height : 25px;
}
}