Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e517f6

Browse filesBrowse files
committed
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:** doctrine/DoctrineBundle#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 ------- 2769550 improve sql explain table display
2 parents 57a86fb + 2769550 commit 8e517f6
Copy full SHA for 8e517f6

File tree

1 file changed

+7
-0
lines changed
Filter options

1 file changed

+7
-0
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,13 @@ table.logs .metadata {
874874
margin: .5em 0;
875875
padding: 1em;
876876
}
877+
.sql-explain {
878+
overflow-x: auto;
879+
max-width: 920px;
880+
}
881+
.sql-explain table td, .sql-explain table tr {
882+
word-break: normal;
883+
}
877884
.queries-table pre {
878885
{{ mixins.break_long_words|raw }}
879886
margin: 0;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.