feature #23706 [Webprofiler] Improve sql explain table display (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:** https://github.com/doctrine/DoctrineBundle/pull/681
_(It does not cause any backward compatibility problems)_
**Before:**
![before](https://user-images.githubusercontent.com/2659069/28733410-0ca76826-73ed-11e7-9fea-b3c49a5442ed.gif)
**After:**
![after](https://user-images.githubusercontent.com/2659069/28733415-11b76ae6-73ed-11e7-9e1a-ace661a1cd44.gif)
Commits
-------
2769550950
improve sql explain table display
This commit is contained in:
commit
8e517f6326
@ -874,6 +874,13 @@ table.logs .metadata {
|
||||
margin: .5em 0;
|
||||
padding: 1em;
|
||||
}
|
||||
.sql-explain {
|
||||
overflow-x: auto;
|
||||
max-width: 920px;
|
||||
}
|
||||
.sql-explain table td, .sql-explain table tr {
|
||||
word-break: normal;
|
||||
}
|
||||
.queries-table pre {
|
||||
{{ mixins.break_long_words|raw }}
|
||||
margin: 0;
|
||||
|
Reference in New Issue
Block a user