Skip to content

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

fix: spend cap permissions tooltip (#28897)

Alaister Young4c68e41b0cdd
diff --git a/packages/ui/src/components/SidePanel/SidePanel.tsx b/packages/ui/src/components/SidePanel/SidePanel.tsx
index e84b7700580..88f711bf33a 100644
--- a/packages/ui/src/components/SidePanel/SidePanel.tsx
+++ b/packages/ui/src/components/SidePanel/SidePanel.tsx
@@ -75,14 +75,16 @@ const SidePanel = ({
{onConfirm !== undefined && (
<Tooltip>
<TooltipTrigger asChild>
- <Button
- htmlType="submit"
- disabled={disabled || loading}
- loading={loading}
- onClick={() => (onConfirm ? onConfirm() : null)}
- >
- {confirmText}
- </Button>
+ <span className="inline-block">
+ <Button
+ htmlType="submit"
+ disabled={disabled || loading}
+ loading={loading}
+ onClick={() => (onConfirm ? onConfirm() : null)}
+ >
+ {confirmText}
+ </Button>
+ </span>
</TooltipTrigger>
{tooltip !== undefined && <TooltipContent side="bottom">{tooltip}</TooltipContent>}
</Tooltip>