mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 17:32:38 +00:00
brewCount
This commit is contained in:
@@ -81,6 +81,7 @@ const ArchivePage = createClass({
|
||||
}
|
||||
this.updateUrl();
|
||||
return <div className="foundBrews">
|
||||
<div className="brewCount">{brews.length} Brews Found</div>
|
||||
<div className="limit">
|
||||
<p>{this.state.limit}</p>
|
||||
</div>
|
||||
|
||||
@@ -100,6 +100,24 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.brewCount {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
translate:-100%;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
background-color: #333;
|
||||
padding: 8px 10px;
|
||||
z-index: 1000;
|
||||
font-family: 'Open Sans';
|
||||
|
||||
&:has(p:empty) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.limit {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user