Always displaying icon on steps, even when disabled.

This commit is contained in:
Roland 2026-02-08 10:57:12 -07:00
parent 94f13183b1
commit 6389541b51
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
2 changed files with 25 additions and 1 deletions

View file

@ -376,3 +376,27 @@ tr.drag-deselecting td {
-moz-user-select: none;
-ms-user-select: none;
}
/* Ensure step icons are always visible, even when disabled */
.ui.steps .step.disabled > .icon,
.ui.steps .step.disabled > i.icon,
.ui.steps .disabled.step > .icon,
.ui.steps .disabled.step > i.icon {
opacity: 0.45 !important;
display: inline-block !important;
visibility: visible !important;
width: auto !important;
height: auto !important;
color: rgba(0, 0, 0, 0.87) !important;
}
/* Ensure the icon glyph (::before) is visible for disabled steps */
.ui.steps .step.disabled > .icon:before,
.ui.steps .step.disabled > i.icon:before,
.ui.steps .disabled.step > .icon:before,
.ui.steps .disabled.step > i.icon:before {
opacity: 0.45 !important;
visibility: visible !important;
color: rgba(0, 0, 0, 0.87) !important;
}

View file

@ -648,7 +648,7 @@ export function RefreshSteps({progress}) {
completed={isCompleted}
disabled={isDisabled}
>
<Icon name={isCompleted ? 'check' : phase.icon}/>
<Icon name={phase.icon}/>
<Step.Content>
<Step.Title>{phase.title}</Step.Title>
<Step.Description>{isActive || isCompleted ? description : ''}</Step.Description>