Skip to content

Commit 5253d0e

Browse files
committed
Add three cosmetic fixes and remove JSMol from supported modules
1 parent 7fd592e commit 5253d0e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/views/Result.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<ModuleSelect bind:selectedValue={module} />
1818
<br />
1919
<div class="module">
20-
<iframe name="visualisationFrame" bind:this={iframe} src={module} title="App window" />
20+
<iframe name="visualisationFrame" bind:this={iframe} src={module} title="App window" frameborder=0 scrolling="no" />
2121
</div>
2222
</Col>
2323
</Grid>
@@ -73,7 +73,7 @@
7373
top: 0;
7474
width: 100%;
7575
}
76-
:global(.modal-fs .modal-container .modal-body .columns hr) {
77-
font-weight: bold;
76+
:global(.modal-fs .modal-container .modal-body .columns hr)::after {
77+
font-size: 1.5em;
7878
}
7979
</style>

src/views/Results.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
9191
function getTitle(item: Types.Structure) {
9292
return addSubTags(
93-
item.attributes.chemical_formula_hill || item.attributes._tcod_unreduced_formula || item.attributes.chemical_formula_reduced || item.id
93+
item.attributes.chemical_formula_hill || item.attributes.chemical_formula_descriptive || item.attributes.chemical_formula_reduced || item.attributes._tcod_unreduced_formula || item.id.toString()
9494
);
9595
}
9696

supported-modules.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[
22
"https://tilde-lab.github.io/cifplayer/player.html",
3-
"https://tilde-lab.github.io/chemdoodle-optimade-app/",
4-
"https://tilde-lab.github.io/jsmol-optimade-app/"
3+
"https://tilde-lab.github.io/chemdoodle-optimade-app/"
54
]

0 commit comments

Comments
 (0)