0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Eliminate spacer div in BrewItem

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

View File

@@ -112,8 +112,6 @@ const BrewItem = createClass({
<h2>{brew.title}</h2>
<p className='description'>{brew.description}</p>
<hr />
<div className='spacer'></div>
<div className='info'>
<span>
<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;
}
}