chore: ui fix button outline for configure cloud model (#3347)

This commit is contained in:
Faisal Amir 2024-08-12 15:55:15 +07:00 committed by GitHub
parent 46cb1b45b9
commit fe8ed1f26d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,7 +131,7 @@ const ModelSection: React.FC<Props> = ({
</div>
<div className="flex items-center">
{isRemoteEngine && (
<Button theme="icon" onClick={onSettingClick}>
<Button theme="icon" variant="outline" onClick={onSettingClick}>
{isEngineReady ? (
<SettingsIcon
size={14}
@ -172,7 +172,7 @@ const ModelSection: React.FC<Props> = ({
className={twMerge(
'flex cursor-pointer items-center gap-2 px-3 py-2 hover:bg-[hsla(var(--dropdown-menu-hover-bg))]',
!isRemoteEngine || isEngineReady
? 'text-[hsla(var(--text-primary))]'
? 'text-[hsla(var(--text-secondary))]'
: 'pointer-events-none cursor-not-allowed text-[hsla(var(--text-tertiary))]'
)}
onClick={() => {