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:
@@ -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(', ')}
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user