Skip to content

Commit bbef167

Browse files
committed
Merge remote-tracking branch 'jdufresne/unused-classes'
* jdufresne/unused-classes: Remove unused DOM classes from table elements
2 parents 9fc416e + 8d3e461 commit bbef167

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

debug_toolbar/static/debug_toolbar/css/toolbar.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,6 @@
444444
text-align: left;
445445
}
446446

447-
#djDebug .djSqlExplain td {
448-
white-space: pre;
449-
}
450-
451447
#djDebug span.djDebugLineChart {
452448
background-color: #777;
453449
height: 3px;

debug_toolbar/templates/debug_toolbar/panels/sql_explain.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h3>{% trans "SQL explained" %}</h3>
1313
<dt>{% trans "Database" %}</dt>
1414
<dd>{{ alias }}</dd>
1515
</dl>
16-
<table class="djSqlExplain">
16+
<table>
1717
<thead>
1818
<tr>
1919
{% for h in headers %}
@@ -25,7 +25,7 @@ <h3>{% trans "SQL explained" %}</h3>
2525
{% for row in result %}
2626
<tr>
2727
{% for column in row %}
28-
<td>{{ column|escape }}</td>
28+
<td>{% if forloop.last %}<code>{% endif %}{{ column|escape }}{% if forloop.last %}</code>{% endif %}</td>
2929
{% endfor %}
3030
</tr>
3131
{% endfor %}

debug_toolbar/templates/debug_toolbar/panels/sql_profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>{% trans "SQL profiled" %}</h3>
1414
<dt>{% trans "Database" %}</dt>
1515
<dd>{{ alias }}</dd>
1616
</dl>
17-
<table class="djSqlProfile">
17+
<table>
1818
<thead>
1919
<tr>
2020
{% for h in headers %}

debug_toolbar/templates/debug_toolbar/panels/sql_select.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>{% trans "SQL selected" %}</h3>
1414
<dd>{{ alias }}</dd>
1515
</dl>
1616
{% if result %}
17-
<table class="djSqlSelect">
17+
<table>
1818
<thead>
1919
<tr>
2020
{% for h in headers %}

0 commit comments

Comments
 (0)