Skip to content

Commit

Permalink
Update widget.py: fix html icon display none (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangm23456 authored Aug 31, 2023
1 parent a0b53a4 commit 0e1cb52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nglview/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def _unset_serialization(views):
_set_serialization(views)
# FIXME: allow add jquery-ui link?
snippet = '<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.0/jquery-ui.css">\n'
snippet += '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">\n'
snippet += embed.embed_snippet(views)
html_code = embed.html_template.format(title='nglview-demo',
snippet=snippet)
Expand Down

0 comments on commit 0e1cb52

Please sign in to comment.