Skip to content

Commit

Permalink
Add three cosmetic fixes and remove JSMol from supported modules
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed May 25, 2022
1 parent 7fd592e commit 5253d0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/views/Result.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<ModuleSelect bind:selectedValue={module} />
<br />
<div class="module">
<iframe name="visualisationFrame" bind:this={iframe} src={module} title="App window" />
<iframe name="visualisationFrame" bind:this={iframe} src={module} title="App window" frameborder=0 scrolling="no" />
</div>
</Col>
</Grid>
Expand Down Expand Up @@ -73,7 +73,7 @@
top: 0;
width: 100%;
}
:global(.modal-fs .modal-container .modal-body .columns hr) {
font-weight: bold;
:global(.modal-fs .modal-container .modal-body .columns hr)::after {
font-size: 1.5em;
}
</style>
2 changes: 1 addition & 1 deletion src/views/Results.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
function getTitle(item: Types.Structure) {
return addSubTags(
item.attributes.chemical_formula_hill || item.attributes._tcod_unreduced_formula || item.attributes.chemical_formula_reduced || item.id
item.attributes.chemical_formula_hill || item.attributes.chemical_formula_descriptive || item.attributes.chemical_formula_reduced || item.attributes._tcod_unreduced_formula || item.id.toString()
);
}
Expand Down
3 changes: 1 addition & 2 deletions supported-modules.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[
"https://tilde-lab.github.io/cifplayer/player.html",
"https://tilde-lab.github.io/chemdoodle-optimade-app/",
"https://tilde-lab.github.io/jsmol-optimade-app/"
"https://tilde-lab.github.io/chemdoodle-optimade-app/"
]

0 comments on commit 5253d0e

Please sign in to comment.