From af5e5fe6f3eff638b4102315b1e2541a21d95da8 Mon Sep 17 00:00:00 2001 From: freeman-lab Date: Wed, 30 Oct 2024 15:37:04 -0400 Subject: [PATCH 1/5] improved table --- articles/ab1305-initial-disclosures/index.md | 26 +++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/articles/ab1305-initial-disclosures/index.md b/articles/ab1305-initial-disclosures/index.md index dd9b1935..dcbad5ce 100644 --- a/articles/ab1305-initial-disclosures/index.md +++ b/articles/ab1305-initial-disclosures/index.md @@ -51,24 +51,26 @@ In addition to the challenge of discovering and transcribing disclosures, we als
From fc0fba14ca8e51e18688dcc899a1d50c97796519 Mon Sep 17 00:00:00 2001 From: freeman-lab Date: Wed, 30 Oct 2024 15:38:33 -0400 Subject: [PATCH 2/5] prettier --- articles/ab1305-initial-disclosures/index.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/articles/ab1305-initial-disclosures/index.md b/articles/ab1305-initial-disclosures/index.md index dcbad5ce..32198ddb 100644 --- a/articles/ab1305-initial-disclosures/index.md +++ b/articles/ab1305-initial-disclosures/index.md @@ -53,24 +53,24 @@ In addition to the challenge of discovering and transcribing disclosures, we als
From 35c8970780629c5ab61f2ee798ec59a8e18e58b1 Mon Sep 17 00:00:00 2001 From: Kata Martin Date: Wed, 30 Oct 2024 16:33:36 -0400 Subject: [PATCH 3/5] Highlight badge text --- .../components/database-table.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/articles/ab1305-initial-disclosures/components/database-table.js b/articles/ab1305-initial-disclosures/components/database-table.js index 6828a1be..3b5fbd66 100644 --- a/articles/ab1305-initial-disclosures/components/database-table.js +++ b/articles/ab1305-initial-disclosures/components/database-table.js @@ -205,6 +205,7 @@ const ProjectRow = ({ '&:hover': standardLink ? { 'td a': { color: 'primary' }, + 'td a .badge div': { color: 'primary' }, '#suffix': { transform: 'rotate(45deg)', color: 'primary' }, } : {}, @@ -216,7 +217,13 @@ const ProjectRow = ({ href={standardLink ? link.url : undefined} > {project_id && link.url?.includes('offsets-db') ? ( - + {project_id} ) : ( From 01a2e05bd96e0eda958310a21932645e5c23a4b1 Mon Sep 17 00:00:00 2001 From: Kata Martin Date: Wed, 30 Oct 2024 16:33:50 -0400 Subject: [PATCH 4/5] Use consistent font styles in first column --- .../components/database-table.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/articles/ab1305-initial-disclosures/components/database-table.js b/articles/ab1305-initial-disclosures/components/database-table.js index 3b5fbd66..4ba57eaf 100644 --- a/articles/ab1305-initial-disclosures/components/database-table.js +++ b/articles/ab1305-initial-disclosures/components/database-table.js @@ -227,7 +227,15 @@ const ProjectRow = ({ {project_id} ) : ( - <>{project_id ?? } + + {project_id ?? } + )} Date: Wed, 30 Oct 2024 16:44:09 -0400 Subject: [PATCH 5/5] Improve mobile table display --- articles/ab1305-initial-disclosures/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/articles/ab1305-initial-disclosures/index.md b/articles/ab1305-initial-disclosures/index.md index 32198ddb..8379198c 100644 --- a/articles/ab1305-initial-disclosures/index.md +++ b/articles/ab1305-initial-disclosures/index.md @@ -54,6 +54,7 @@ In addition to the challenge of discovering and transcribing disclosures, we als columns={[10]} start={[[1], [2]]} width={[[1], [9]]} + index={false} data={[ ['1', 'The name of the business entity selling the offset.'], ['2', 'The name of the offset registry or program.'],