forked from glen/dyna3
Tie invalidity indicator to regulator input
Invalid attempts to specify a regulator's set point are now local to each view of the regulator, and don't affect the regulator model. In particular, a regulator will be valid and in force even when one of its regulator input views is showing an invalid specification attempt. The invalidity indicator should therefore be tied to the input showing the invalid specification, not to the whole regulator outline item.
This commit is contained in:
parent
f2e84fb64a
commit
c54b6bc165
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ details[open]:has(li) .element-switch::after {
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
.regulator:has(.invalid) > .status::after, details:has(.invalid):not([open]) .status::after {
|
||||
.regulator-input.invalid + .status::after, details:has(.invalid):not([open]) .status::after {
|
||||
content: '⚠';
|
||||
color: var(--text-invalid);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue