0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 16:12:38 +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> <h2>{brew.title}</h2>
<p className='description'>{brew.description}</p> <p className='description'>{brew.description}</p>
<hr /> <hr />
<div className='spacer'></div>
<div className='info'> <div className='info'>
<span title={`Authors:\n${brew.authors.join('\n')}`}> <span title={`Authors:\n${brew.authors.join('\n')}`}>
<i className='fas fa-user'/> {brew.authors.join(', ')} <i className='fas fa-user'/> {brew.authors.join(', ')}

View File

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