Release: test infrastructure, rules overhaul, and design refresh #30
@@ -90,7 +90,7 @@ export function EncounterMethodBadge({
|
|||||||
}) {
|
}) {
|
||||||
const config = METHOD_CONFIG[method]
|
const config = METHOD_CONFIG[method]
|
||||||
if (!config) return null
|
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 (
|
return (
|
||||||
<span className={`${sizeClass} font-medium rounded-full whitespace-nowrap ${config.color}`}>
|
<span className={`${sizeClass} font-medium rounded-full whitespace-nowrap ${config.color}`}>
|
||||||
{config.label}
|
{config.label}
|
||||||
|
|||||||
Reference in New Issue
Block a user