Skip to content

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

Lint

Joshen Lime96f6f472efa
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
index f541c04bd02..f294211cfeb 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
@@ -105,7 +105,12 @@ const InputWithSuggestions: FC<Props> = ({
>
<Tooltip.Root delayDuration={0}>
<Tooltip.Trigger>
- <Button as="span" type="default" icon={<IconList strokeWidth={1.5} />}></Button>
+ <Button
+ as="span"
+ type="default"
+ className="!px-1 mr-1"
+ icon={<IconList strokeWidth={1.5} />}
+ />
</Tooltip.Trigger>
<Tooltip.Content side="bottom">
<Tooltip.Arrow className="radix-tooltip-arrow" />
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
index a882b5c15d9..292c37e7f40 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
@@ -128,7 +128,7 @@ const Column: FC<Props> = ({
}`}
suggestions={suggestions}
suggestionsHeader="Suggested expressions"
- suggestionsWidth={410}
+ suggestionsTooltip="Suggested expressions"
onChange={(event: any) => onUpdateColumn({ defaultValue: event.target.value })}
onSelectSuggestion={(suggestion: Suggestion) =>
onUpdateColumn({ defaultValue: suggestion.value })