Skip to content

Commit 8d31b2d

Browse files
authored
Add CSS resets for height and min-height (#2130)
Refs django/djangoproject.com#2041.
1 parent 7522214 commit 8d31b2d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

debug_toolbar/static/debug_toolbar/css/toolbar.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@
127127
#djDebug button {
128128
margin: 0;
129129
padding: 0;
130-
min-width: 0;
130+
min-width: auto;
131131
width: auto;
132+
min-height: auto;
133+
height: auto;
132134
border: 0;
133135
outline: 0;
134136
font-size: 12px;

docs/changes.rst

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Pending
1717
templates.
1818
* Swapped display order of panel header and close button to prevent style
1919
conflicts
20+
* Added CSS for resetting the height of elements too to avoid problems with
21+
global CSS of a website where the toolbar is used.
2022

2123
5.1.0 (2025-03-20)
2224
------------------

0 commit comments

Comments
 (0)