Skip to content

Commit

Permalink
CSS tweaks to make sure the TOC text is rendered correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmainak committed Jul 19, 2014
1 parent f93521f commit 115bff6
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions mne/report.py
Expand Up @@ -381,20 +381,16 @@ def _build_html_slider(slices_range, slides_klass, slider_id):
margin-top: navbar-height;
position: fixed;
width: 20%;
height: 100%;
height: 90%;
overflow: auto;
}
#toc li {
overflow: auto;
overflow: hidden;
padding-bottom: 2px;
margin-left: 20px;
}
#toc a {
padding: 0 0 3px 2px;
}
#toc span {
float: left;
padding: 0 2px 3px 0;
Expand Down Expand Up @@ -448,10 +444,8 @@ def _build_html_slider(slices_range, slides_klass, slider_id):
{{default width = 50}}
{{default id = False}}
{{if id}}
<li class="{{div_klass}}" id="{{id}}" {{if not show}}style="display: none"
{{endif}}>
{{endif}}
<li class="{{div_klass}}" {{if id}}id="{{id}}"{{endif}}
{{if not show}}style="display: none"{{endif}}>
{{if caption}}
<h4>{{caption}}</h4>
Expand All @@ -464,8 +458,7 @@ def _build_html_slider(slices_range, slides_klass, slider_id):
<center>{{interactive}}</center>
{{endif}}
</div>
{{if id}}</li>{{endif}}
</li>
""")

repr_template = Template(u"""
Expand Down

0 comments on commit 115bff6

Please sign in to comment.