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