8000 bug #59140 [WebProfilerBundle] fix: white-space in highlighted code (… · symfony/symfony@17364eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 17364eb

Browse 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

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines 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