Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(studio): improve contrast on frozen table editor columns (#45620)

Danny Whitec05083aa8079
diff --git a/apps/studio/styles/grid.css b/apps/studio/styles/grid.css
index 065152872a7..947d3959531 100644
--- a/apps/studio/styles/grid.css
+++ b/apps/studio/styles/grid.css
@@ -31,8 +31,8 @@
@apply h-full;
}
-.rdg-cell-frozen-last {
- @apply border-secondary border-r-2 shadow-none;
+.rdg-row .rdg-cell-frozen:nth-last-child(1 of .rdg-cell-frozen) {
+ @apply border-secondary border-r;
}
.rdg-cell[aria-selected='true'] {
@@ -137,6 +137,15 @@
@apply bg-surface-200 border-default border-b;
}
+.rdg-header-row .rdg-cell-frozen:nth-last-child(1 of .rdg-cell-frozen) {
+ @apply border-default border-r border-b;
+}
+
+[data-theme='dark'] .rdg-row .rdg-cell-frozen:nth-last-child(1 of .rdg-cell-frozen),
+[data-theme='dark'] .rdg-header-row .rdg-cell-frozen:nth-last-child(1 of .rdg-cell-frozen) {
+ @apply border-r-strong;
+}
+
.rdg-header-row .rdg-cell p {
@apply text-typography-body-light [[data-theme*=dark]_&]:text-typography-body-dark;
}