fix(FN-4764): add dismissible structured PR error blocks and styles
Fusion-Task-Id: FN-4764 Fusion-Task-Lineage: 14809ad5-8463-4e16-a934-1414225f17ae
This commit is contained in:
committed by
gsxdsm
parent
26c3d330d3
commit
ae740bdb24
@@ -171,6 +171,28 @@
|
||||
background: color-mix(in srgb, var(--color-error) 10%, transparent);
|
||||
}
|
||||
|
||||
.pr-error {
|
||||
background: color-mix(in srgb, var(--color-error) 10%, transparent);
|
||||
border: var(--btn-border-width) solid color-mix(in srgb, var(--color-error) 35%, transparent);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.pr-error__hint {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pr-error__actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.pr-error__retry:focus-visible,
|
||||
.pr-error__dismiss:focus-visible {
|
||||
box-shadow: var(--focus-ring-strong);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.pr-create-modal {
|
||||
gap: var(--space-md);
|
||||
|
||||
Reference in New Issue
Block a user