From ef769a1121f9b4a6217d0f8ed954ee92e5fd4f5d Mon Sep 17 00:00:00 2001 From: Simon Farshid Date: Fri, 28 Jun 2024 00:08:08 -0700 Subject: [PATCH] fix: actionbar hover mode disappear bug (#347) --- apps/www/components/docs/ParametersTable.tsx | 2 +- packages/shadcn-registry/registry/assistant-ui/full/thread.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/www/components/docs/ParametersTable.tsx b/apps/www/components/docs/ParametersTable.tsx index 439b6d30c..d0f5a9a7f 100644 --- a/apps/www/components/docs/ParametersTable.tsx +++ b/apps/www/components/docs/ParametersTable.tsx @@ -89,7 +89,7 @@ const ParametersBox: FC = ({ type, parameters }) => { return (
{!!type && ( -

+

{type}

)} diff --git a/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx b/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx index 9a95e3064..1682e2b54 100644 --- a/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx +++ b/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx @@ -170,7 +170,7 @@ const AssistantMessage: FC = () => { hideWhenRunning autohide="not-last" autohideFloat="single-branch" - className="data-[floating]:bg-background flex items-center gap-1 rounded-lg data-[floating]:absolute data-[floating]:border data-[floating]:p-1" + className="data-[floating]:bg-background z-50 flex items-center gap-1 rounded-lg data-[floating]:absolute data-[floating]:border data-[floating]:p-1" >