Files
fusion/packages/dashboard/app/components/AgentErrorDetailsModal.css
Fusion 42087ddfeb feat(FN-4015): classify and recover from stale module-resolution incidents
Merges FN-4015 to add stale module-resolution incident detection and self-healing in the engine (`transient-error-detector.ts`, `self-healing.ts`) with mobile regression coverage for the shared `AgentErrorDetailsModal` layout.

Fusion-Task-Id: FN-4015
2026-05-11 12:04:20 -07:00

75 lines
1.6 KiB
CSS

.agent-error-indicator {
display: inline-flex;
align-items: center;
gap: var(--space-xs);
width: 100%;
border: var(--btn-border-width) solid color-mix(in srgb, var(--color-error) 30%, var(--border));
background: color-mix(in srgb, var(--color-error) 10%, transparent);
color: var(--color-error);
border-radius: var(--radius-sm);
padding: var(--space-xs) var(--space-sm);
cursor: pointer;
text-align: left;
}
.agent-error-indicator__label {
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: var(--font-mono);
font-size: var(--space-md);
}
.agent-error-modal {
max-width: min(calc(var(--space-2xl) * 20), 100%);
min-height: 0;
}
.agent-error-modal__content {
padding: 0 var(--space-lg) var(--space-md);
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
display: flex;
}
.agent-error-modal__error {
margin: 0;
padding: var(--space-sm);
border-radius: var(--radius-sm);
border: var(--btn-border-width) solid var(--border);
background: var(--bg);
color: var(--text);
font-family: var(--font-mono);
font-size: var(--space-md);
max-height: calc(var(--space-2xl) * 8);
overflow: auto;
white-space: pre-wrap;
word-break: break-word;
}
@media (max-width: 768px) {
.agent-error-modal {
width: 100%;
max-width: 100%;
height: 100%;
max-height: 100%;
flex: 1 1 auto;
min-height: 0;
}
.agent-error-modal__content {
flex: 1 1 auto;
}
.agent-error-modal__error {
flex: 1 1 auto;
max-height: none;
min-height: 0;
width: 100%;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
}
}