From adb7d4adfa4677588169a4fa932011eba14f7416 Mon Sep 17 00:00:00 2001 From: aliang Date: Sat, 14 Dec 2024 10:54:42 +0700 Subject: [PATCH] chore(ui): adjust the style of symbols in chat sidebar (#3561) * chore(ui): adjust the style of symbols in chat sidebar * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- ee/tabby-ui/components/message-markdown/code.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ee/tabby-ui/components/message-markdown/code.tsx b/ee/tabby-ui/components/message-markdown/code.tsx index f907b78b0c93..2d72b5a44641 100644 --- a/ee/tabby-ui/components/message-markdown/code.tsx +++ b/ee/tabby-ui/components/message-markdown/code.tsx @@ -62,17 +62,17 @@ export function CodeElement({ className={cn('group/symbol', className, { symbol: !!lookupSymbol, 'bg-muted leading-5 py-0.5': !!lookupSymbol && !isSymbolNavigable, - 'inline-flex items-center gap-1 cursor-pointer hover:bg-muted/50 border': + 'space-x-1 cursor-pointer hover:bg-muted/50 border whitespace-nowrap align-middle py-0.5': isSymbolNavigable })} onClick={handleClick} {...props} > {isSymbolNavigable && ( - + )}