Label observable type
Right now, there's only one type of observable, so the label can be hard-coded.
This commit is contained in:
parent
dc8330df6a
commit
de7122d871
2 changed files with 7 additions and 1 deletions
|
@ -24,7 +24,7 @@ body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
float: left;
|
float: left;
|
||||||
width: 450px;
|
width: 500px;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
@ -128,6 +128,11 @@ details[open]:has(li) .element-switch::after {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.observable-type {
|
||||||
|
padding: 2px 8px 0px 8px;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
.observable.invalid-constraint {
|
.observable.invalid-constraint {
|
||||||
color: var(--text-invalid);
|
color: var(--text-invalid);
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,7 @@ fn ObservableOutlineItem(observable_key: ObservableKey, element_key: ElementKey)
|
||||||
view! {
|
view! {
|
||||||
li(class=class.get()) {
|
li(class=class.get()) {
|
||||||
div(class="observable-label") { (other_subject_label) }
|
div(class="observable-label") { (other_subject_label) }
|
||||||
|
div(class="observable-type") { "Inversive distance" }
|
||||||
ObservableInput(observable=observable)
|
ObservableInput(observable=observable)
|
||||||
div(class="status")
|
div(class="status")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue