Closed nckrtl closed 2 months ago
Was taking another look at the toolbar and found some more things that could be improved
Visual side by side:
Also noticed that the rows of the request data is not nicely aligned anymore:
I saw this remark: https://github.com/barryvdh/laravel-debugbar/pull/1605#discussion_r1551759026 and also the PR that is causing the misalignment: https://github.com/barryvdh/laravel-debugbar/pull/1608
This CSS fixes the alignment, while making sure there is enough space for the key to be fully displayed and not being cut off.
dl.phpdebugbar-widgets-kvlist dt { width: 25%; width: calc(25% - 10px); }
Note that this is now properly calculating the width instead of width: calc(25%-10px); which I included and then removed in some commits ago as it was invalid due to missing spaces.
width: calc(25%-10px);
Was taking another look at the toolbar and found some more things that could be improved
Visual side by side:![visual-changes](https://github.com/barryvdh/laravel-debugbar/assets/18613261/83ff1cb6-1658-4d49-8ce5-131df696ca97)
Also noticed that the rows of the request data is not nicely aligned anymore:
I saw this remark: https://github.com/barryvdh/laravel-debugbar/pull/1605#discussion_r1551759026 and also the PR that is causing the misalignment: https://github.com/barryvdh/laravel-debugbar/pull/1608
This CSS fixes the alignment, while making sure there is enough space for the key to be fully displayed and not being cut off.
Note that this is now properly calculating the width instead of
width: calc(25%-10px);
which I included and then removed in some commits ago as it was invalid due to missing spaces.