🧹cleanup: hub model title should not truncate just let make another line

This commit is contained in:
Faisal Amir 2025-07-03 11:05:07 +07:00
parent c2493fc535
commit 0343c09704

View File

@ -486,14 +486,12 @@ function Hub() {
> >
<h1 <h1
className={cn( className={cn(
'text-main-view-fg font-medium text-base capitalize truncate max-w-38 sm:max-w-none', 'text-main-view-fg font-medium text-base capitalize sm:max-w-none',
isRecommendedModel(model.model_name) isRecommendedModel(model.model_name)
? 'hub-model-card-step' ? 'hub-model-card-step'
: '' : ''
)} )}
title={ title={extractModelName(model.model_name) || ''}
extractModelName(model.metadata?.id) || ''
}
> >
{extractModelName(model.model_name) || ''} {extractModelName(model.model_name) || ''}
</h1> </h1>