Skip to content

Commit f99d0f7

Browse files
authored
fix timeline (at least in Chrome) (#16)
1 parent 9d31490 commit f99d0f7

File tree

1 file changed

+2
-2
lines changed
  • template_profiler_panel/templates/template_profiler_panel

1 file changed

+2
-2
lines changed

template_profiler_panel/templates/template_profiler_panel/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ <h4>{{ templates|length }} {% trans 'calls to Template.render()' %}</h4>
2525
<td>{{ template.name }}</td>
2626
<td class="timeline">
2727
<div class="djDebugTimeline">
28-
<div class="djDebugLineChart" style="left: {{ template.offset_p|stringformat:'f' }}%;">
29-
<strong title="Start {{ template.start }}" style="min-width: 1px; width: {{ template.rel_duration_p|stringformat:'f' }}%; background-color: {{ template.color.bg }};">&nbsp;</strong>
28+
<div class="djDebugLineChart" style="margin-left: {{ template.offset_p|stringformat:'f' }}%;">
29+
<div title="Start {{ template.start }}" style="min-width: 1px; width: {{ template.rel_duration_p|stringformat:'f' }}%; background-color: {{ template.color.bg }};">&nbsp;</div>
3030
</div>
3131
</div>
3232
</td>

0 commit comments

Comments
 (0)