Skip to content

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

Fix table editor searhc input padding issue

Joshen Lim4815f2f21d48
diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
index 6013f7f88c0..5a91a18caf6 100644
--- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
@@ -200,7 +200,7 @@ const TableEditorMenu: FC<Props> = ({
{/* Table search input */}
<div className="mb-2 block px-3">
<Input
- className="border-none"
+ className="border-none table-editor-search"
icon={<IconSearch className="text-scale-900" size={12} strokeWidth={1.5} />}
placeholder="Search tables"
onChange={(e) => setSearchText(e.target.value)}
diff --git a/studio/styles/editor.scss b/studio/styles/editor.scss
index 493f4e66af1..4a76731d766 100644
--- a/studio/styles/editor.scss
+++ b/studio/styles/editor.scss
@@ -21,3 +21,10 @@
.column-type-disabled .sbui-listbox-label {
@apply opacity-50;
}
+
+// This fix should ideally be in the UI library
+.table-editor-search {
+ input {
+ @apply pr-10;
+ }
+}
\ No newline at end of file