0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00

adapt width of table to date iso and remove colors

This commit is contained in:
Víctor Losada Hernández
2025-02-12 23:10:51 +01:00
parent b79c5954ff
commit 1f3a0f1f99
2 changed files with 4 additions and 19 deletions

View File

@@ -98,8 +98,8 @@ body {
padding : 10px;
tr {
border-bottom:1px solid;
&:last-of-type { border:none; }
border-bottom : 1px solid;
&:last-of-type { border : none; }
&:nth-child(even) { background : #DDDDDD; }
}
@@ -117,29 +117,14 @@ body {
&:last-child { border-right : none; }
}
th {
font-weight:900;
&:nth-child(2) { background : #FFB3BA; }
&:nth-child(3) { background : #FFDFBA; }
&:nth-child(4) { background : #FFFFBA; }
&:nth-child(5) { background : #BAFFC9; }
&:nth-child(6) { background : #BAE1FF; }
}
th { font-weight : 900; }
td {
&:first-child {
font-weight : 900;
text-align : left;
border-right : 2px solid;
}
&:nth-child(2) { background : #FFB3BA80; }
&:nth-child(3) { background : #FFDFBA80; }
&:nth-child(4) { background : #FFFFBA80; }
&:nth-child(5) { background : #BAFFC980; }
&:nth-child(6) { background : #BAE1FF80; }
}
}
.error {

View File

@@ -48,7 +48,7 @@ const authorLookup = ()=>{
<td><strong>{brew.title}</strong></td>
<td><a href={`/share/${brew.shareId}`}>{brew.shareId}</a></td>
<td>{brew.editId}</td>
<td>{brew.updatedAt}</td>
<td style={{ width: '200px' }}>{brew.updatedAt}</td>
<td>{brew.googleId ? 'Google' : 'Homebrewery'}</td>
</tr>;
})}