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 17364eb

Browse filesBrowse files
committed
bug #59140 [WebProfilerBundle] fix: white-space in highlighted code (chr-hertel)
This PR was merged into the 6.4 branch. Discussion ---------- [WebProfilerBundle] fix: white-space in highlighted code | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT fixing the whitespace handling in highlighted code. might it's like this for a while now or maybe just with newer php version ¯\_(ツ)_/¯ **before:** ![image](https://github.com/user-attachments/assets/9dfe5279-a652-4721-8d95-3f99cae6456c) **after:** ![image](https://github.com/user-attachments/assets/4b42c14e-18af-48aa-9413-346a92c2ca87) Commits ------- ac08b9a fix: preserve and nowrap in profiler code highlighting
2 parents 2e1a628 + ac08b9a commit 17364eb
Copy full SHA for 17364eb

File tree

1 file changed

+1
-0
lines changed
Filter options
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler

1 file changed

+1
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/open.css.twig
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#source .source-content ol li {
4141
margin: 0 0 2px 0;
4242
padding-left: 5px;
43+
white-space: preserve nowrap;
4344
}
4445
#source .source-content ol li::marker {
4546
color: var(--color-muted);

0 commit comments

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