0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 17:32:38 +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();
return <div className="foundBrews">
<div className="brewCount">{brews.length} Brews Found</div>
<div className="limit">
<p>{this.state.limit}</p>
</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 {
position: fixed;
bottom: 0;