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 0a9a264

Browse filesBrowse files
bug #49477 [WebProfilerBundle] Fix the rendering of query explanation with Postgresql (stof)
This PR was merged into the 6.2 branch. Discussion ---------- [WebProfilerBundle] Fix the rendering of query explanation with Postgresql | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | | License | MIT | Doc PR | n/a Postgresql (and some other platforms) provide a textual query explanation rather than a tabular one. The previous styles were working only for a tabular display. For text allowing to break words, `min-content` is the width of a single letter. With the old code (introduced in #46750), a query explanation looks like that when using Postgresql (well, with a lot more lines that what is included in the screenshot): ![image](https://user-images.githubusercontent.com/439401/220405453-ffdb0b24-91fe-4ba5-aeb6-4a919b07d007.png) After the change, it looks like that (including only the first few lines), which is a lot easier to read: ![image](https://user-images.githubusercontent.com/439401/220405829-8a279d4f-2f1a-42db-bae1-2fd4d4279550.png) Commits ------- f238349 Fix the rendering of query explanation with Postgresql
2 parents e03caa2 + f238349 commit 0a9a264
Copy full SHA for 0a9a264

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
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
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2079,7 +2079,7 @@ tr.log-status-silenced > td:first-child:before {
20792079
max-width: 888px;
20802080
}
20812081
.width-full .sql-explain {
2082-
max-width: min-content;
2082+
max-width: unset;
20832083
}
20842084
.sql-explain table td, .sql-explain table tr {
20852085
word-break: normal;

0 commit comments

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