mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-09 01:26:36 +00:00
add todo items
This commit is contained in:
parent
1f6879de30
commit
9e7aa2ba57
2 changed files with 9 additions and 3 deletions
|
|
@ -21,9 +21,10 @@ export const DataTable: FC<Props> = ({
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
<TableContainer
|
<TableContainer
|
||||||
|
// TODO: Work on firefox implementation of scrollbar styles
|
||||||
|
// Note: This wont work on safari, we are ok with this.
|
||||||
css={{
|
css={{
|
||||||
"&::-webkit-scrollbar": {
|
"&::-webkit-scrollbar": {
|
||||||
background: "#d7f5ef",
|
|
||||||
borderTop: '2px solid #11866f',
|
borderTop: '2px solid #11866f',
|
||||||
height: 18
|
height: 18
|
||||||
},
|
},
|
||||||
|
|
@ -68,14 +69,19 @@ export const DataTable: FC<Props> = ({
|
||||||
return (
|
return (
|
||||||
<Tr
|
<Tr
|
||||||
key={idx}
|
key={idx}
|
||||||
|
// TODO: Full width for hover
|
||||||
|
// TODO: Add fade in animation on hover
|
||||||
|
// TODO: Get new background color from nuno for hover
|
||||||
|
_hover={{background: 'green.50'}}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
columnHeaders.map((columnHeader, idx) => {
|
columnHeaders.map((columnHeader, idx) => {
|
||||||
|
// TODO: Make the font size smaller (refer to design system)
|
||||||
return (
|
return (
|
||||||
<Td
|
<Td
|
||||||
key={idx}
|
key={idx}
|
||||||
px={0}
|
px={0}
|
||||||
pr={2}
|
pr={8}
|
||||||
>
|
>
|
||||||
{item[columnHeader.toLowerCase()]}
|
{item[columnHeader.toLowerCase()]}
|
||||||
</Td>
|
</Td>
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@ const DownloadsPage: NextPage = ({}) => {
|
||||||
<DataTable
|
<DataTable
|
||||||
columnHeaders={[
|
columnHeaders={[
|
||||||
'Build Server',
|
'Build Server',
|
||||||
'UniqueID',
|
'Unique ID',
|
||||||
'OpenPGP Key',
|
'OpenPGP Key',
|
||||||
'Fingerprint'
|
'Fingerprint'
|
||||||
]}
|
]}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue