fix: model dropdown icon miss align (#4645)
This commit is contained in:
parent
c538c60ce0
commit
d2336cfb0f
@ -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))]'
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user