Skip to content

Commit

Permalink
Tweak spacings a bit because of the changed fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Sep 16, 2022
1 parent be0a433 commit c359e76
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
15 changes: 9 additions & 6 deletions debug_toolbar/static/debug_toolbar/css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
#djDebug tr,
#djDebug th,
#djDebug td,
#djDebug summary,
#djDebug button {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -159,7 +160,7 @@
text-decoration: none;
display: block;
font-size: 16px;
padding: 10px 10px 5px 25px;
padding: 7px 10px 8px 25px;
color: #fff;
}
#djDebug #djDebugToolbar li > div.djdt-disabled {
Expand All @@ -178,6 +179,7 @@

#djDebug #djDebugToolbar li.djdt-active:before {
content: "▶";
font-family: sans-serif;
position: absolute;
left: 0;
top: 50%;
Expand Down Expand Up @@ -388,18 +390,19 @@
position: absolute;
top: 4px;
right: 15px;
height: 16px;
width: 16px;
line-height: 16px;
padding: 5px;
border: 6px solid #ddd;
border-radius: 50%;
background: #fff;
color: #ddd;
text-align: center;
font-weight: 900;
font-size: 20px;
box-sizing: content-box;
height: 36px;
width: 36px;
padding: 0 0 5px;
box-sizing: border-box;
display: grid;
place-items: center;
}

#djDebug .djdt-panelContent .djDebugClose:hover {
Expand Down
3 changes: 2 additions & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Pending
users to disable the inclusion of all project code. This will be useful
to project setups that have dependencies installed under
``settings.BASE_DIR``.
* The toolbar's font stack now prefers system UI fonts.
* The toolbar's font stack now prefers system UI fonts. Tweaked the CSS a bit
to improve spacings.

3.6.0 (2022-08-17)
------------------
Expand Down

0 comments on commit c359e76

Please sign in to comment.