Skip to content

Commit

Permalink
style for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-donarise committed Feb 29, 2024
1 parent 135c996 commit 2236bb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions player/player.view.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[mpds_cifplayer_player][mol_view_error]:not([mol_view_error="Promise"]) {
color: var(--mol_theme_text);
background-image: none;
padding-top: 6rem;
align-items: flex-start;
justify-content: center;
}
2 changes: 1 addition & 1 deletion player/player.view.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace $.$$ {

@ $mol_mem
render(): void {
super.render()
this.structure_3d_data() //for bubbling errors into view
super.render()
}

@ $mol_mem
Expand Down

0 comments on commit 2236bb7

Please sign in to comment.