Split example calculation lines
This commit is contained in:
@@ -33,8 +33,15 @@
|
|||||||
<p class="example-note">
|
<p class="example-note">
|
||||||
1 {config.labels.in2} = {reverseResult?.val1 ?? '—'} {config.labels.in1}
|
1 {config.labels.in2} = {reverseResult?.val1 ?? '—'} {config.labels.in1}
|
||||||
</p>
|
</p>
|
||||||
<p class="example">
|
<p class="example-line">
|
||||||
Example: convert {exampleInput} {config.labels.in1} to {config.labels.in2}: {formulaExpression} = {result.val2} {config.labels.in2}
|
Example: convert {exampleInput} {config.labels.in1} to {config.labels.in2}
|
||||||
|
</p>
|
||||||
|
<p class="example-line">
|
||||||
|
{formulaExpression} =
|
||||||
|
<span class="example-result">{result.val2} {config.labels.in2}</span>
|
||||||
|
</p>
|
||||||
|
<p class="example-line">
|
||||||
|
Result: {result.val2} {config.labels.in2}
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -60,9 +67,15 @@
|
|||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.example {
|
.example-line {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.95rem;
|
font-size: 0.9rem;
|
||||||
font-weight: 500;
|
line-height: 1.4;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.example-result {
|
||||||
|
font-weight: 600;
|
||||||
|
margin-left: 0.35rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user