8000 bug #57772 [WebProfilerBundle] Add word wrap in tables in dialog to s… · symfony/symfony@39aa1bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 39aa1bd

Browse files
committed
bug #57772 [WebProfilerBundle] Add word wrap in tables in dialog to see all the text in workflow listeners dialog (SpartakusMd)
This PR was merged into the 6.4 branch. Discussion ---------- [WebProfilerBundle] Add word wrap in tables in dialog to see all the text in workflow listeners dialog | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | no <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> In the web profiler, when looking at the listeners for workflow, if reference to the listener is too big, it's not seen and the table is not horizontally scrollable. Added word wrap so that the whole text is seen. **Before** <img width="947" alt="before" src="https://github.com/user-attachments/assets/9491daa6-b58b-4cf7-b46d-be9d7d5fda07"> **After** <img width="945" alt="after" src="https://github.com/user-attachments/assets/f7f7db7a-3657-4d99-a0af-9cc3a9961b83"> Commits ------- 5f9b6d7 [Profiler] Add word wrap in tables in dialog to see all the text
2 parents 9a6c838 + 5f9b6d7 commit 39aa1bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/workflow.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
dialog table td {
6161
padding: .625em;
6262
text-align: center;
63+
word-wrap: break-word;
6364
}
6465
6566
dialog table th {

0 commit comments

Comments
 (0)
0