[VarDumper] Use default color for ellipsed namespaces/paths

This commit is contained in:
Nicolas Grekas 2016-11-29 11:01:23 +01:00
parent cb03103570
commit ebc23cf222
2 changed files with 3 additions and 1 deletions

View File

@ -900,6 +900,7 @@ table.logs .metadata {
#collector-content .sf-dump-note { color: #6897BB; }
#collector-content .sf-dump-key { color: #789339; }
#collector-content .sf-dump-ref { color: #6E6E6E; }
#collector-content .sf-dump-ellipsis { color: #CC7832; max-width: 100em; }
#collector-content .sf-dump {
margin: 0;

View File

@ -43,6 +43,7 @@ class HtmlDumper extends CliDumper
'meta' => 'color:#B729D9',
'key' => 'color:#56DB3A',
'index' => 'color:#1299DA',
'ellipsis' => 'color:#FF8400',
);
private $displayOptions = array(
@ -380,7 +381,7 @@ pre.sf-dump .sf-dump-ellipsis {
display: inline-block;
overflow: visible;
text-overflow: ellipsis;
width: 5em;
max-width: 5em;
white-space: nowrap;
overflow: hidden;
vertical-align: top;