+ {/*
{t("Goal")}:
*/}
@@ -168,18 +168,28 @@ export const Goal = React.memo((props: GoalProps) => {
const objectHyps = hyps.filter(hyp => !hyp.isAssumption)
const assumptionHyps = hyps.filter(hyp => hyp.isAssumption)
- return
+ return <>
{/* {goal.userName &&
case {goal.userName}
} */}
{filter.reverse && goalLi}
+
{! typewriter && objectHyps.length > 0 &&
{t("Objects")}:
{objectHyps.map((h, i) =>
)}
}
{!typewriter && assumptionHyps.length > 0 &&
{t("Assumptions")}:
{assumptionHyps.map((h, i) =>
)}
}
- {!filter.reverse && goalLi}
+
+ {!filter.reverse && <>
+
+
+
+ {goalLi}
+ >}
{/* {showHints && hints} */}
-
+ >
})
export const MainAssumptions = React.memo((props: GoalProps2) => {
diff --git a/client/src/css/infoview.css b/client/src/css/infoview.css
index 1d3428b..37b1801 100644
--- a/client/src/css/infoview.css
+++ b/client/src/css/infoview.css
@@ -189,3 +189,32 @@
.tooltip-arrow {
display: none;
}
+
+
+.goal-tab {
+ /* border: 2px dotted darkgreen; */
+ display: flex;
+ flex-direction: row;
+}
+
+.goal-tab .goal, .goal-tab .hypotheses {
+ /* border: 1px solid lightblue; */
+ display: inline-block;
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+}
+
+.goal-sign {
+ /* border: 1px solid lightblue; */
+ width: 1rem;
+ margin-left: .5rem;
+ margin-right: .5rem;
+ display: inline-block;
+}
+
+.goal-sign line {
+ stroke: var(--clr-dark-gray);
+ stroke-width: 2;
+}