feat(ui): tweak fontSize in modellist

This commit is contained in:
psychedelicious 2023-07-14 19:49:05 +10:00
parent 56d209842f
commit eb2a7058bf

View File

@ -82,7 +82,7 @@ const ModelList = (props: ModelListProps) => {
{['all', 'diffusers'].includes(modelFormatFilter) && {['all', 'diffusers'].includes(modelFormatFilter) &&
filteredDiffusersModels.length > 0 && ( filteredDiffusersModels.length > 0 && (
<Flex sx={{ gap: 2, flexDir: 'column' }}> <Flex sx={{ gap: 2, flexDir: 'column' }}>
<Text variant="subtext" size="sm"> <Text variant="subtext" fontSize="sm">
Diffusers Diffusers
</Text> </Text>
{filteredDiffusersModels.map((model) => ( {filteredDiffusersModels.map((model) => (
@ -98,7 +98,7 @@ const ModelList = (props: ModelListProps) => {
{['all', 'checkpoint'].includes(modelFormatFilter) && {['all', 'checkpoint'].includes(modelFormatFilter) &&
filteredCheckpointModels.length > 0 && ( filteredCheckpointModels.length > 0 && (
<Flex sx={{ gap: 2, flexDir: 'column' }}> <Flex sx={{ gap: 2, flexDir: 'column' }}>
<Text variant="subtext" size="sm"> <Text variant="subtext" fontSize="sm">
Checkpoint Checkpoint
</Text> </Text>
{filteredCheckpointModels.map((model) => ( {filteredCheckpointModels.map((model) => (