mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-17 12:23:21 +00:00
brewCount
This commit is contained in:
@@ -81,6 +81,7 @@ const ArchivePage = createClass({
|
|||||||
}
|
}
|
||||||
this.updateUrl();
|
this.updateUrl();
|
||||||
return <div className="foundBrews">
|
return <div className="foundBrews">
|
||||||
|
<div className="brewCount">{brews.length} Brews Found</div>
|
||||||
<div className="limit">
|
<div className="limit">
|
||||||
<p>{this.state.limit}</p>
|
<p>{this.state.limit}</p>
|
||||||
</div>
|
</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 {
|
.limit {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user