Generalize constraints to observables #48

Open
Vectornaut wants to merge 7 commits from Vectornaut/dyna3:observables_on_main into main
2 changed files with 7 additions and 1 deletions
Showing only changes of commit de7122d871 - Show all commits

View file

@ -24,7 +24,7 @@ body {
display: flex;
flex-direction: column;
float: left;
width: 450px;
width: 500px;
height: 100vh;
margin: 0px;
padding: 0px;
@ -128,6 +128,11 @@ details[open]:has(li) .element-switch::after {
font-style: italic;
}
.observable-type {
padding: 2px 8px 0px 8px;
font-size: 10pt;
}
.observable.invalid-constraint {
color: var(--text-invalid);
}

View file

@ -68,6 +68,7 @@ fn ObservableOutlineItem(observable_key: ObservableKey, element_key: ElementKey)
view! {
li(class=class.get()) {
div(class="observable-label") { (other_subject_label) }
div(class="observable-type") { "Inversive distance" }
ObservableInput(observable=observable)
div(class="status")
}