make sure all metadata in viewer is rendered at correct font size - specifically fixes control adapter metadata being too big

This commit is contained in:
Mary Hipp 2024-03-06 11:50:22 -05:00 committed by Kent Keirsey
parent b857692073
commit b019f9bb8b

View File

@ -15,7 +15,7 @@ export const MetadataItemView = memo(
return (
<Flex gap={2}>
{onRecall && <RecallButton label={label} onClick={onRecall} isDisabled={isDisabled} />}
<Flex direction={direction}>
<Flex direction={direction} fontSize="sm">
<Text fontWeight="semibold" whiteSpace="pre-wrap" pr={2}>
{label}:
</Text>