Skip to content

Commit 074a4bf

Browse files
committed
minor symfony#16647 Minor design tweaks for the Logs and Doctrine profiler panels (javiereguiluz)
This PR was merged into the 2.8 branch. Discussion ---------- Minor design tweaks for the Logs and Doctrine profiler panels | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - ### Logger panel BEFORE ![stacktrace_before](https://cloud.githubusercontent.com/assets/73419/11362363/65924218-9293-11e5-8b89-c405e6bcee9a.png) ### Logger panel AFTER ![stacktrace_after](https://cloud.githubusercontent.com/assets/73419/11362365/68cd37da-9293-11e5-8ef9-607d60a1b4cf.png) ### Doctrine panel BEFORE ![doctrine_before](https://cloud.githubusercontent.com/assets/73419/11362370/6ce78f14-9293-11e5-8bd8-d486447c1134.png) ### Doctrine panel AFTER ![doctrine_after](https://cloud.githubusercontent.com/assets/73419/11362372/71a3eade-9293-11e5-9949-a7f0463fb12a.png) Commits ------- fdfa176 Minor design tweaks for the Logs and Doctrine profiler panels
2 parents 3ed092e + fdfa176 commit 074a4bf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,13 +808,28 @@ table.logs .metadata strong {
808808
color: #222;
809809
}
810810

811+
table.logs .sf-call-stack {
812+
margin: 1em 0 1em 1.5em;
813+
}
814+
table.logs .sf-call-stack li {
815+
margin-bottom: 5px;
816+
}
817+
table.logs .sf-call-stack abbr {
818+
border: none;
819+
}
820+
811821
{# Doctrine panel
812822
========================================================================= #}
813823
.sql-runnable {
814824
background: #F5F5F5;
815825
margin: .5em 0;
816826
padding: 1em;
817827
}
828+
.queries-table pre {
829+
{{ mixins.break_long_words|raw }}
830+
margin: 0;
831+
white-space: pre-wrap;
832+
}
818833

819834
{# Dump panel
820835
========================================================================= #}

0 commit comments

Comments
 (0)