From b0d023bd04e741ebd6f45a36b14787baa62efe3f Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Thu, 28 May 2026 16:01:43 +0800 Subject: [PATCH] fix(studio): remove default DataGrid borders across studio surfaces (#46448) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to #46413, which fixed an unwanted top border on the Auth Users grid by upgrading `border-t-0` → `border-t-0!` so the Tailwind rule actually wins over react-data-grid's `.rdg { border: 1px solid var(--rdg-border-color); }` shorthand. The same issue exists on every other DataGrid in Studio — this applies the fix consistently. **Changed:** - `border-t-0! border-b-0!` applied to all `` call sites in Studio (11 in total) Fixes this issue everywhere: Screenshot 2026-05-28 at 3 40 02 PM ## To test Spot-check that the top/bottom borders look right (no doubled border under the page chrome, no extra line at the bottom of the table) on each route below. Use any project ref for `[ref]`: - `/project/[ref]/observability/query-performance` — main grid + the WithStatements grid inside - `/project/[ref]/observability/query-insights` — both modes (explorer + triage) - `/project/[ref]/advisors/security` - `/project/[ref]/advisors/performance` - `/project/[ref]/integrations/cron/jobs` — jobs list - `/project/[ref]/integrations/cron/jobs/` — previous runs tab - `/project/[ref]/integrations/queues/queues` — queues list - `/project/[ref]/integrations/queues/queues/` — single queue messages - `/project/[ref]/integrations/vault/secrets` - `/project/[ref]/sql/new` — results pane at the bottom - `/project/[ref]/realtime/inspector` - `/project/[ref]/logs/explorer` — and the preview pages: `auth-logs`, `edge-logs`, `postgres-logs`, `cron-logs`, `pg-upgrade-logs`, `postgrest-logs`, `realtime-logs`, `replication-logs`, `pgcron-logs`, `storage-logs`, `edge-functions-logs`, `pooler-logs`, `dedicated-pooler-logs` - `/project/[ref]/functions/[functionSlug]/logs` and `/invocations` ## Summary by CodeRabbit * **Style** * Refined border styling on data grids across multiple features including integrations, query tools, and logs for improved visual consistency. [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46448?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com> --- .../Integrations/CronJobs/CronJobsTab.DataGrid.tsx | 2 +- .../interfaces/Integrations/CronJobs/PreviousRunsTab.tsx | 2 +- .../components/interfaces/Integrations/Queues/QueuesTab.tsx | 2 +- .../Integrations/Queues/SingleQueue/QueueDataGrid.tsx | 2 +- .../Integrations/Vault/Secrets/SecretsManagement.tsx | 2 +- apps/studio/components/interfaces/Linter/LinterDataGrid.tsx | 2 +- .../QueryInsights/QueryInsightsTable/QueryInsightsTable.tsx | 5 ++--- .../interfaces/QueryPerformance/QueryPerformanceGrid.tsx | 2 +- .../interfaces/Realtime/Inspector/MessagesTable.tsx | 2 +- .../components/interfaces/SQLEditor/UtilityPanel/Results.tsx | 2 +- apps/studio/components/interfaces/Settings/Logs/LogTable.tsx | 2 +- 11 files changed, 12 insertions(+), 13 deletions(-) diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx index 0b37422e905..d5d3c468247 100644 --- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx +++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx @@ -51,7 +51,7 @@ export const CronJobsTabDataGrid = ({ return ( {
{ {
) : ( { '[&>.rdg-cell]:items-center'} onCellKeyDown={handleCellKeyDown} /> diff --git a/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx b/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx index 75520609002..d09662119bf 100644 --- a/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx +++ b/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx @@ -600,7 +600,7 @@ export const LogTable = ({