Skip to content

Commit fda8832

Browse files
minor symfony#21255 [Profiler] Fix inline dump rendering (ogizanagi)
This PR was merged into the 3.3-dev branch. Discussion ---------- [Profiler] Fix inline dump rendering | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A I introduced a minor rendering issue in symfony#21109 when adding a clearfix behavior to the `pre.sf-dump` element: |Before|After| |-------|-----| | <img width="890" alt="screenshot 2017-01-12 a 19 57 34" src="https://cloud.githubusercontent.com/assets/2211145/21903782/6989eb36-d901-11e6-8f02-99c4a8356725.PNG">|<img width="892" alt="screenshot 2017-01-12 a 19 52 56" src="https://cloud.githubusercontent.com/assets/2211145/21903721/407d3bbc-d901-11e6-901b-3f5b65bee650.PNG">| This will fix the issue by removing it, as we don't need this behavior for inline dumps. Commits ------- 81e2641 [Profiler] Fix inline dump rendering
2 parents 136a5ff + 81e2641 commit fda8832

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,9 @@ table.logs .metadata {
922922
font-size: inherit;
923923
line-height: inherit;
924924
}
925+
#collector-content .dump-inline .sf-dump:after {
926+
display: none;
927+
}
925928

926929
#collector-content .sf-dump .trace {
927930
font-size: 12px;

0 commit comments

Comments
 (0)