-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Webprofiler] Improve sql explain table display #23706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Could you please rebase @mimol91 ? |
@mimol91 what happens when using Postgresql ? Explain output uses a |
@@ -874,6 +874,13 @@ table.logs .metadata { | |||
margin: .5em 0; | |||
padding: 1em; | |||
} | |||
.sql-explain { | |||
overflow-x: auto; | |||
width: 920px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be max-width
in case people have smaller screens
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mimol91 fantastic! Thanks for contributing this improvement. I like it a lot.
I've rebased with 3.4 |
Thank you @mimol91. |
This PR was merged into the 3.4 branch. Discussion ---------- [Webprofiler] Improve sql explain table display | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes? | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Table which is shown in Weprofiler is not clean while values in sql explain table are long. This PR adds horizontal scroll for long tables. **Related PR in Doctrine bundle:** doctrine/DoctrineBundle#681 _(It does not cause any backward compatibility problems)_ **Before:**  **After:**  Commits ------- 2769550 improve sql explain table display
Table which is shown in Weprofiler is not clean while values in sql explain table are long.
This PR adds horizontal scroll for long tables.
Related PR in Doctrine bundle: doctrine/DoctrineBundle#681
(It does not cause any backward compatibility problems)
Before:

After:
