Increase encounter method badge sizes for readability
Bump xs from 8px to 10px and sm from 9px to 12px so the route-list badges (Grass, Surfing, Gift, etc.) are legible at a glance. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ export function EncounterMethodBadge({
|
||||
}) {
|
||||
const config = METHOD_CONFIG[method]
|
||||
if (!config) return null
|
||||
const sizeClass = size === 'xs' ? 'text-[8px] px-1 py-0' : 'text-[9px] px-1.5 py-0.5'
|
||||
const sizeClass = size === 'xs' ? 'text-[10px] px-1.5 py-0.5' : 'text-xs px-2 py-0.5'
|
||||
return (
|
||||
<span className={`${sizeClass} font-medium rounded-full whitespace-nowrap ${config.color}`}>
|
||||
{config.label}
|
||||
|
||||
Reference in New Issue
Block a user