Skip to content

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

Merge branch 'master' into chore/sql-editor-2

Terry Suttonb36608a23976
diff --cc studio/components/layouts/SQLEditorLayout/QueryItem.tsx
index a04ae7cbf4a,5d2615a0a71..a9a24cb7bfa
--- a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
+++ b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
@@@ -136,19 -129,19 +136,21 @@@ const QueryItemActions = observer(({ ta
</>
}
>
- <Button
- asChild
- type="text"
- icon={<IconChevronDown size="tiny" strokeWidth={2} className="text-scale-1100" />}
- style={{ padding: '3px' }}
+ <span
+ className={clsx(
+ 'p-0.5 rounded-md ',
+ isActive
+ ? 'text-scale-1100 hover:bg-scale-800'
+ : 'text-scale-300 dark:text-scale-200 hover:bg-scale-500 group-hover:text-scale-1100'
+ )}
>
- <span></span>
- </Button>
+ <IconChevronDown size="tiny" strokeWidth={2} />
+ </span>
</Dropdown>
) : (
- <Button as="span" type="text" style={{ padding: '3px' }} />
+ <Button asChild disabled type="text" style={{ padding: '3px' }}>
+ <span></span>
+ </Button>
)}
<RenameQueryModal
snippet={tabInfo}