0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 06:33:32 +00:00

basic ui and small changes

This commit is contained in:
Víctor Losada Hernández
2024-01-23 00:20:18 +01:00
parent 66fd56fccb
commit 7951c4a03a
2 changed files with 26 additions and 4 deletions

View File

@@ -55,7 +55,16 @@ const ArchivePage = createClass({
<dd>{brew.title}</dd>
<dt>Authors:</dt>
<dd>{brew.authors.join(', ')}</dd>
<dd>
{brew.authors.map((author, index) => (
<span key={index}>
<a href={`/user/${author}`} target='_blank' rel='noopener noreferrer'>
{author}
</a>
{index < brew.authors.length - 1 && ', '}
</span>
))}
</dd>
<a href={`/share/${brew.shareId}`}>Check the brew</a>

View File

@@ -57,7 +57,7 @@
height:76.8vh;
.title {
height:20%;
height:100px;
background-color: #333;
display:grid;
place-items: center;
@@ -70,12 +70,25 @@
}
.foundBrews {
background-color: #2C3E50;
display:flex;
flex-direction: column;
flex-direction: row;
flex-wrap:wrap;
width:100%;
min-height:500px;
height:max-content;
padding:50px;
padding-bottom:unset;
overflow-y:scroll;
.brewItem {
width:200px;
background-image: url('/assets/parchmentBackground.jpg');
width:500px;
height:auto;
min-height:unset;
overflow:visible;
margin-right:50px;
dt {
font-size:20px;