🎨 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:
@@ -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
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user