barryvdh / laravel-debugbar

Debugbar for Laravel (Integrates PHP Debug Bar)
MIT License
17.43k stars 1.56k forks source link

Vardump + xdebug link alignment issue #1644

Closed martijngastkemper closed 2 months ago

martijngastkemper commented 2 months ago

In the HtmlVariableListWidget widget the alignment breaks when you the vardumper output as value and a xdebug link:

Screenshot 2024-08-26 at 09 54 15

The links are pushed down by the vardumper element and disappear behind the gray rows.

I've tried to create a PR, but it's a bit harder then expected. The PHP debugbar styling works, but the vardumper, added by Laravel debugbar, breaks it. I've tried making the vardumper element float left, because the xdebug link floats right. But that breaks the row height. Hopefully someone with better CSS skills nows how to fix issue.

erikn69 commented 2 months ago

Try https://github.com/maximebf/php-debugbar/pull/668, don't forget to reload the browser cache too if it works, let your review there

martijngastkemper commented 2 months ago

It's a custom collector I made with application specific debug information in it.

That pull request looks like the same problem. Thanks for the tip. Hopefully it's getting merged soon. I'll test it tomorrow.