chore: ui fix button outline for configure cloud model (#3347)
This commit is contained in:
parent
46cb1b45b9
commit
fe8ed1f26d
@ -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={() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user