0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 15:52:39 +00:00

minor fixes

This commit is contained in:
Víctor Losada Hernández
2024-01-29 00:12:14 +01:00
parent bf1f2054de
commit 46d1f89b77
2 changed files with 10 additions and 10 deletions

View File

@@ -93,10 +93,8 @@ 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>
<span className="brewCount">{brews.length} Brews Found</span>
<span className="limit">{this.state.limit}</span>
{brews.map((brew, index) => (
<BrewItem brew={brew} key={index} reportError={this.props.reportError}/>
))}

View File

@@ -11,7 +11,7 @@ body {
height: 100%;
background-color: #2C3E50;
h1,h2,h3,p {
h1,h2,h3 {
font-family: 'Open Sans';
color: white;
font-weight: 900;
@@ -40,6 +40,7 @@ body {
height: 100%;
display: grid;
grid-template-columns: 500px 2fr;
background: #2C3E50;
.dataGroup {
width: 100%;
@@ -103,8 +104,7 @@ body {
.brewCount {
position: fixed;
bottom: 0;
right: 0;
translate:-100%;
right: 17px;
font-size: 11px;
font-weight: 800;
color: white;
@@ -113,7 +113,7 @@ body {
z-index: 1000;
font-family: 'Open Sans';
&:has(p:empty) {
&:empty {
display: none;
}
}
@@ -130,7 +130,7 @@ body {
z-index: 1000;
font-family: 'Open Sans';
&:has(p:empty) {
&:empty {
display: none;
}
}
@@ -138,7 +138,9 @@ body {
background-image: url('/assets/parchmentBackground.jpg');
width: 48%;
margin-right: 40px;
&:nth-child(2n+1 of .brewItem) {
color: black;
&:nth-child(even) {
margin-right: 0;
}
h2 {