diff --git a/nbconvert_html5/templates/semantic-forms/smol.html.j2 b/nbconvert_html5/templates/semantic-forms/smol.html.j2 index 0996681e..f78cb04d 100644 --- a/nbconvert_html5/templates/semantic-forms/smol.html.j2 +++ b/nbconvert_html5/templates/semantic-forms/smol.html.j2 @@ -25,12 +25,12 @@ padding-right: 16px; } - label[id$=\/form_label], + label[id$=\/cell_label], fieldset[name=input]:disabled~ul[role=toolbar], fieldset[name=input]>legend, fieldset[name=outputs]>legend, - article>form[action=markdown]~fieldset[name=input]:disabled, - article[data-outputs="0"]>fieldset[name=outputs] { + section>form[action=markdown]~fieldset[name=input]:disabled, + section[data-outputs="0"]>fieldset[name=outputs] { display: none; } @@ -41,7 +41,7 @@ padding: var(--cell-padding); } - [role=feed]>article>[name=input] { + fieldset[name=input] { border: none; } @@ -100,21 +100,23 @@ {% if cell.cell_type == "raw" %}{{cell.source}}{% endif %}
-
-
- + -
- In {{cell.execution_count or ""}} - - -
- {# things need to follow this input in dom order so that we can use css selectors off fieldset:disabled #} - {{ cell_toolbars(cell, nb, [cell_submit(cell, nb), cell_type(cell, nb)]) }} - {{ cell_output(cell, nb) }} +
+ {# the form doubles as an anchor #} +
+
+
+ In {{cell.execution_count or ""}} + + +
+ {# things need to follow this input in dom order so that we can use css selectors off fieldset:disabled #} + {{ cell_toolbars(cell, nb, [cell_submit(cell, nb), cell_type(cell, nb)]) }} + {{ cell_output(cell, nb) }} +
{% endblock any_cell %}