feat: make tool policy alert sticky (#6872)

This commit is contained in:
Patrick Erichsen 2025-07-30 14:37:48 -07:00 • committed by GitHub
parent f66df60a2d
commit 216da21c67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,7 @@ export const ToolPoliciesSection = () => {
return (
<>
{(mode === "chat" || mode === "plan") && (
<div className="my-1 mb-3">
<div className="bg-background sticky top-0 z-10 my-1 mb-3">
<Alert type="info" size="sm">
<span className="text-2xs italic">{message}</span>
</Alert>