Commit d36b7d6
committed
Fix the Y positioning of the handle
- The additional translateY makes djdt.top=0 move the handle to the top
of the browser window.
- Because the handle is rotated we have to subtract its offsetWidth, not
its offsetHeight to keep it in bounds at the bottom of the window.1 parent 4e3d12f commit d36b7d6
File tree
2 files changed
+2
-2
lines changed- debug_toolbar/static/debug_toolbar
- css
- js
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
0 commit comments