0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 12:23:21 +00:00

brewCount

This commit is contained in:
Víctor Losada Hernández
2024-01-28 16:02:19 +01:00
parent 8aec5dbba6
commit 3ca8f72762
2 changed files with 19 additions and 0 deletions

View File

@@ -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>

View File

@@ -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;