0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 05: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 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> <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> <span>
<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;
}
} }