From ac2e910d8b4d1e70275191a6927af8c3aca6a429 Mon Sep 17 00:00:00 2001 From: Jaco Date: Sun, 8 Jan 2023 15:54:26 +0200 Subject: [PATCH] Adjust Table borders (w/ spacing) (#8729) * Adjust Table borders (w/ spacing) * Background only on cells --- packages/apps/public/index.html | 2 +- .../page-accounts/src/Accounts/Account.tsx | 6 +- .../page-addresses/src/Contacts/Address.tsx | 6 +- packages/page-bounties/src/Bounty.tsx | 4 +- .../page-democracy/src/Overview/External.tsx | 4 +- .../page-democracy/src/Overview/Proposal.tsx | 4 +- .../src/Overview/Referendum.tsx | 4 +- .../src/Referenda/Referendum.tsx | 4 +- .../page-settings/src/Metadata/Extensions.tsx | 4 +- .../src/Validators/Address/index.tsx | 4 +- .../page-treasury/src/Overview/Proposal.tsx | 4 +- packages/react-components/src/Table/Head.tsx | 19 +--- packages/react-components/src/Table/Table.tsx | 104 +++++++++++++++--- 13 files changed, 116 insertions(+), 53 deletions(-) diff --git a/packages/apps/public/index.html b/packages/apps/public/index.html index 5acec239a3..f1648c8d35 100644 --- a/packages/apps/public/index.html +++ b/packages/apps/public/index.html @@ -44,7 +44,7 @@ --color-summary: rgba(244, 242, 240, 0.75); --color-table-foot: rgba(254, 240, 240, 0.66); --color-table-head: rgba(254, 240, 240, 0.66); - --color-text: rgba(244, 242, 240, 0.9); + --color-text: rgba(244, 242, 240, 0.8); } [data-theme="light"] { diff --git a/packages/page-accounts/src/Accounts/Account.tsx b/packages/page-accounts/src/Accounts/Account.tsx index e8b67779b1..8440dcc208 100644 --- a/packages/page-accounts/src/Accounts/Account.tsx +++ b/packages/page-accounts/src/Accounts/Account.tsx @@ -465,7 +465,7 @@ function Account ({ account: { address, meta }, className = '', delegation, filt return ( <> - + - + - + - + - + - + - + - + - + - + - + - + - + - + { return ( <> - + @@ -402,7 +402,7 @@ function Referendum (props: Props): React.ReactElement { - + {extensions ? options.length !== 0 && ( <> - + ('upgradable extensions')} @@ -67,7 +67,7 @@ function Extensions ({ chainInfo, className }: Props): React.ReactElement /> - +