fix: model dropdown icon miss align (#4645)

This commit is contained in:
Faisal Amir 2025-02-13 17:18:46 +07:00 committed by GitHub
parent c538c60ce0
commit d2336cfb0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -475,7 +475,7 @@ const ModelDropdown = ({
> >
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<p <p
className="line-clamp-1 text-[hsla(var(--text-secondary))]" className="max-w-[200px] overflow-hidden truncate whitespace-nowrap text-[hsla(var(--text-secondary))]"
title={model.name} title={model.name}
> >
{model.name} {model.name}
@ -573,7 +573,7 @@ const ModelDropdown = ({
<div className="flex gap-x-2"> <div className="flex gap-x-2">
<p <p
className={twMerge( className={twMerge(
'line-clamp-1', 'max-w-[200px] overflow-hidden truncate whitespace-nowrap',
!isDownloaded && !isDownloaded &&
'text-[hsla(var(--text-secondary))]' 'text-[hsla(var(--text-secondary))]'
)} )}