🎨 fix(logs): remove hardcoded font-mono to support global theme font inheritance

- Remove explicit 'font-mono' and custom size classes from model and token
  badges in usage logs.
- Allow model name and token badges to naturally inherit the active theme's
  font family (Sans or Serif) and text size from the parent container.
- Restore visual consistency and proportion across all table badge components.
This commit is contained in:
CaIon
2026-05-26 12:16:26 +08:00
parent a8b7c92e5f
commit 9e283ab10b
2 changed files with 7 additions and 7 deletions
@@ -101,7 +101,7 @@ function ModelBadgeContent(props: ModelBadgeProps) {
showDot={!provider}
autoColor={provider ? undefined : props.modelName}
className={cn(
'border-border/60 bg-muted/30 h-auto min-h-6 px-2 py-0.5 gap-1.5 rounded-md border font-mono whitespace-normal break-all',
'border-border/60 bg-muted/30 h-auto min-h-6 px-2 py-0.5 gap-1.5 rounded-md border whitespace-normal break-all',
provider && 'text-foreground',
props.className
)}