fix: visible Save/Cancel buttons on AgentHealth config edit mode
Replace subtle Unicode checkmark/X with proper labeled buttons styled as primary (Save) and secondary (Cancel) for better visibility. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -114,11 +114,48 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.configEditBtn:disabled {
|
||||
opacity: 0.3;
|
||||
.configActions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-self: flex-end;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.configSaveBtn {
|
||||
padding: 4px 12px;
|
||||
border: none;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--amber);
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.configSaveBtn:hover {
|
||||
background: var(--amber-deep);
|
||||
}
|
||||
|
||||
.configSaveBtn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.configCancelBtn {
|
||||
padding: 4px 12px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: var(--text-muted);
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.configCancelBtn:hover {
|
||||
color: var(--text-primary);
|
||||
border-color: var(--text-faint);
|
||||
}
|
||||
|
||||
/* Section header */
|
||||
.sectionTitle {
|
||||
font-size: 13px;
|
||||
|
||||
Reference in New Issue
Block a user