0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 07:32:40 +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(); this.updateUrl();
return <div className="foundBrews"> return <div className="foundBrews">
<div className="brewCount">{brews.length} Brews Found</div> <span className="brewCount">{brews.length} Brews Found</span>
<div className="limit"> <span className="limit">{this.state.limit}</span>
<p>{this.state.limit}</p>
</div>
{brews.map((brew, index) => ( {brews.map((brew, index) => (
<BrewItem brew={brew} key={index} reportError={this.props.reportError}/> <BrewItem brew={brew} key={index} reportError={this.props.reportError}/>
))} ))}

View File

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