Skip to content

Commit

Permalink
fixes issue voila-dashboards#77
Browse files Browse the repository at this point in the history
inlined bootstrap is now linked rather than inlined in initial response
  • Loading branch information
jf--- committed Mar 11, 2019
1 parent b9a7faf commit d95e4b8
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions share/jupyter/voila/template/default/nbconvert_templates/voila.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@

{%- block html_head_css -%}

{% for css in resources.inlining.css -%}
<style type="text/css">
{{ css }}
</style>
{% endfor %}
{#{% for css in resources.inlining.css -%}#}
{# <style type="text/css">#}
{# {{ css }}#}
{# </style>#}
{#{% endfor %}#}

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link href="http://gridstackjs.com/dist/gridstack.css" rel="stylesheet">
{{ super() }}


<style type="text/css">
Expand Down Expand Up @@ -52,6 +57,8 @@ div#notebook-container{
{{ mathjax() }}
{%- endblock html_head_css -%}



{% block body %}
<body>
<div tabindex="-1" id="notebook" class="border-box-sizing">
Expand Down

0 comments on commit d95e4b8

Please sign in to comment.