From cd13c61e90d8a0cc6d02bf2cd501c3017e33437e Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Tue, 9 May 2023 01:02:39 -0700 Subject: [PATCH] fix(datagrid): remove default balham borders (#3642) --- apps/explorer/src/styles.css | 5 +++++ apps/governance/src/styles.css | 5 +++++ apps/trading/pages/styles.css | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/apps/explorer/src/styles.css b/apps/explorer/src/styles.css index c7fb57bb3..594a3d81d 100644 --- a/apps/explorer/src/styles.css +++ b/apps/explorer/src/styles.css @@ -32,6 +32,11 @@ line-height: calc(min(var(--ag-line-height, 26px), 26px) - 4px); } +.vega-ag-grid .ag-row { + border-width: 1px 0; + border-bottom: 1px solid transparent; +} + /* Light variables */ .ag-theme-balham { --ag-background-color: theme(colors.white); diff --git a/apps/governance/src/styles.css b/apps/governance/src/styles.css index 5fa70dd0d..ed7a17105 100644 --- a/apps/governance/src/styles.css +++ b/apps/governance/src/styles.css @@ -40,6 +40,11 @@ line-height: calc(min(var(--ag-line-height, 26px), 26px) - 4px); } +.vega-ag-grid .ag-row { + border-width: 1px 0; + border-bottom: 1px solid transparent; +} + /* Dark variables */ .ag-theme-balham-dark { --ag-background-color: theme(colors.black); diff --git a/apps/trading/pages/styles.css b/apps/trading/pages/styles.css index e0663446b..499890d9b 100644 --- a/apps/trading/pages/styles.css +++ b/apps/trading/pages/styles.css @@ -93,6 +93,11 @@ html [data-theme='light'] { line-height: calc(min(var(--ag-line-height, 26px), 26px) - 4px); } +.vega-ag-grid .ag-row { + border-width: 1px 0; + border-bottom: 1px solid transparent; +} + /* Light variables */ .ag-theme-balham { --ag-background-color: theme(colors.white);