fix(texttip): fix texttip placement [EE-4990] (#8427)

Co-authored-by: testa113 <testa113>
pull/7902/head
Ali 2023-02-01 20:34:04 +13:00 committed by GitHub
parent 36c6d3f21b
commit 7fd263e8cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ export function TextTip({
children,
}: PropsWithChildren<Props>) {
return (
<p className="small flex items-center gap-1">
<Icon icon={icon} mode={getMode(color)} />
<p className="small inline-flex items-center gap-1">
<Icon icon={icon} mode={getMode(color)} className="shrink-0" />
<span className="text-muted">{children}</span>
</p>