Skip to content

Commit

Permalink
Fix CSS name
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Oct 8, 2019
1 parent 92dd42f commit e65a075
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block codecell %}
{%- if not cell.outputs -%}
{%- set extra_class="jp-mod-noOutput" -%}
{%- set extra_class="jp-mod-noOutputs" -%}
{%- endif -%}
<div class="jp-Cell jp-CodeCell jp-Notebook-cell {{ extra_class }}">
{{ super() }}
Expand Down Expand Up @@ -54,7 +54,7 @@

{#
output_prompt doesn't do anything in HTML,
because there is a prompt div in each output area (see output block)
because there is a prompt div in each output area (see output block)
#}
{% block output_prompt %}
{% endblock output_prompt %}
Expand Down Expand Up @@ -211,7 +211,7 @@ class="unconfined"
</div>
{%- endblock -%}
{#
{#
###############################################################################
# TODO: how to better handle JavaScript repr? #
###############################################################################
Expand All @@ -229,8 +229,8 @@ class="unconfined"
{%- block data_widget_state scoped %}
{% set div_id = uuid4() %}
{% set datatype_list = output.data | filter_data_type %}
{% set datatype = datatype_list[0]%}
{% set datatype_list = output.data | filter_data_type %}
{% set datatype = datatype_list[0]%}
<div id="{{ div_id }}"></div>
<div class="output_subarea output_widget_state {{ extra_class }}">
<script type="{{ datatype }}">
Expand All @@ -241,8 +241,8 @@ class="unconfined"
{%- block data_widget_view scoped %}
{% set div_id = uuid4() %}
{% set datatype_list = output.data | filter_data_type %}
{% set datatype = datatype_list[0]%}
{% set datatype_list = output.data | filter_data_type %}
{% set datatype = datatype_list[0]%}
<div id="{{ div_id }}"></div>
<div class="jupyter-widgets jp-OutputArea-output {{ extra_class }}">
<script type="{{ datatype }}">
Expand All @@ -252,7 +252,7 @@ class="unconfined"
{%- endblock data_widget_view -%}
{%- block footer %}
{% set mimetype = 'application/vnd.jupyter.widget-state+json'%}
{% set mimetype = 'application/vnd.jupyter.widget-state+json'%}
{% if mimetype in nb.metadata.get("widgets",{})%}
<script type="{{ mimetype }}">
{{ nb.metadata.widgets[mimetype] | json_dumps }}
Expand Down

0 comments on commit e65a075

Please sign in to comment.