fix(ui): restore readable boxed chat hotkey tooltip (#765)

This commit is contained in:
João Salavisa
2026-05-01 23:08:03 +01:00
committed by GitHub
parent 692fdddcc9
commit 7d93d52c7a
+1 -1
View File
@@ -5,7 +5,7 @@ function Kbd({ className, ...props }: React.ComponentProps<"kbd">) {
<kbd
data-slot="kbd"
className={cn(
"bg-muted text-muted-foreground [[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10 h-5 w-fit min-w-5 gap-1 rounded-xs px-1 font-sans text-[0.625rem] font-medium [&_svg:not([class*='size-'])]:size-3 pointer-events-none inline-flex items-center justify-center select-none",
"bg-muted text-muted-foreground [[data-slot=tooltip-content]_&]:border [[data-slot=tooltip-content]_&]:border-border/60 [[data-slot=tooltip-content]_&]:bg-background/70 [[data-slot=tooltip-content]_&]:text-popover-foreground dark:[[data-slot=tooltip-content]_&]:bg-background/20 h-5 w-fit min-w-5 gap-1 rounded-xs px-1 font-sans text-[0.625rem] font-medium [&_svg:not([class*='size-'])]:size-3 pointer-events-none inline-flex items-center justify-center select-none",
className,
)}
{...props}