Skip to content

Commit

Permalink
fix: actionbar hover mode disappear bug (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 28, 2024
1 parent 6436093 commit ef769a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/components/docs/ParametersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const ParametersBox: FC<ParametersTableProps> = ({ type, parameters }) => {
return (
<div className="relative m-2 mb-1 flex flex-col rounded-lg border">
{!!type && (
<h3 className="bg-background text-foreground/70 absolute right-3 z-10 -translate-y-1/2 rounded-md border px-4 py-2 font-mono text-xs font-semibold">
<h3 className="bg-background text-foreground/70 absolute right-3 z-50 -translate-y-1/2 rounded-md border px-4 py-2 font-mono text-xs font-semibold">
{type}
</h3>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<ActionBarPrimitive.Copy asChild>
<IconButton tooltip="Copy">
Expand Down

0 comments on commit ef769a1

Please sign in to comment.