Contribute page styling

This commit is contained in:
MrFry 2020-04-10 15:04:32 +02:00
parent f67faa3031
commit 0e8f6cd2d9
2 changed files with 5 additions and 4 deletions

View file

@ -10,9 +10,9 @@ export default function Helps () {
<table className={styles.helpTable}> <table className={styles.helpTable}>
<thead> <thead>
<tr className={styles.helpHeader}> <tr className={styles.helpHeader}>
{header.map((h) => { {header.map((h, i) => {
return ( return (
<td> <td key={i}>
{h} {h}
</td> </td>
) )
@ -20,10 +20,10 @@ export default function Helps () {
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{Object.keys(helpRows).map((key) => { {Object.keys(helpRows).map((key, i) => {
const item = helpRows[key] const item = helpRows[key]
return ( return (
<tr className={styles.helpRow}> <tr className={styles.helpRow} key={i}>
<td> <td>
{item.name} {item.name}
</td> </td>

View file

@ -17,6 +17,7 @@
} }
.helpRow td { .helpRow td {
padding: 10px;
font-size: 16px; font-size: 16px;
} }