Skip to content

Commit f123afd

Browse files
federicobondtim-schilling
authored andcommitted
Restore monospace font for templates and stacktraces
1 parent 7c0b02b commit f123afd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

debug_toolbar/static/debug_toolbar/css/toolbar.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@
325325
margin-bottom: 3px;
326326
}
327327

328+
#djDebug pre span {
329+
font-family: var(--djdt-font-family-monospace);
330+
}
331+
328332
#djDebug .djdt-panelContent {
329333
position: fixed;
330334
margin: 0;

docs/changes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Pending
1414
* Dropped support for the Python 3.9, it has reached its end of life date.
1515
* Toggle tracking the toolbar's queries when using
1616
``debug_toolbar.store.DatabaseStore`` with ``SKIP_TOOLBAR_QUERIES``.
17+
* Fixed font family for code blocks and stack traces in the toolbar.
1718

1819
6.1.0 (2025-10-30)
1920
------------------

0 commit comments

Comments
 (0)