Skip to content

Commit b44d9da

Browse files
authored
restore two-column layout
1 parent b94120f commit b44d9da

1 file changed

Lines changed: 28 additions & 24 deletions

File tree

packages/viewer/src/components/Traits/Proof.svelte

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,34 @@
1111
</script>
1212

1313
Automatically deduced from the following:
14-
<div style="margin:1em 0">
15-
<h5>Properties</h5>
16-
<table class="table">
17-
<thead>
18-
<tr>
19-
<th>Property</th>
20-
<th>Value</th>
21-
</tr>
22-
</thead>
23-
<tbody>
24-
{#each traits as [property, trait] (property.id)}
14+
<div class="row">
15+
<div class="col">
16+
<h5>Properties</h5>
17+
<table class="table">
18+
<thead>
2519
<tr>
26-
<td>
27-
<Link.Property {property} />
28-
</td>
29-
<td>
30-
<Link.Trait {space} {property}>
31-
<ValueIcon value={trait.value} />
32-
</Link.Trait>
33-
</td>
20+
<th>Property</th>
21+
<th>Value</th>
3422
</tr>
35-
{/each}
36-
</tbody>
37-
</table>
38-
<h5>Theorems</h5>
39-
<Theorems {theorems} {emphasizedProperties} />
23+
</thead>
24+
<tbody>
25+
{#each traits as [property, trait] (property.id)}
26+
<tr>
27+
<td>
28+
<Link.Property {property} />
29+
</td>
30+
<td>
31+
<Link.Trait {space} {property}>
32+
<ValueIcon value={trait.value} />
33+
</Link.Trait>
34+
</td>
35+
</tr>
36+
{/each}
37+
</tbody>
38+
</table>
39+
</div>
40+
<div class="col">
41+
<h5>Theorems</h5>
42+
<Theorems {theorems} {emphasizedProperties} />
43+
</div>
4044
</div>

0 commit comments

Comments
 (0)