8000 [VarDumper] Use default color for ellipsed namespaces/paths · symfony/symfony@56df574 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56df574

Browse files
[VarDumper] Use default color for ellipsed namespaces/paths
1 parent cb03103 commit 56df574

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Copy file name to clipboard
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,7 @@ table.logs .metadata {
900900
#collector-content .sf-dump-note { color: #6897BB; }
901901
#collector-content .sf-dump-key { color: #789339; }
902902
#collector-content .sf-dump-ref { color: #6E6E6E; }
903+
#collector-content .sf-dump-ellipsis { color: #CC7832; }
903904

904905
#collector-content .sf-dump {
905906
margin: 0;

src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class HtmlDumper extends CliDumper
4343
'meta' => 'color:#B729D9',
4444
'key' => 'color:#56DB3A',
4545
'index' => 'color:#1299DA',
46+
'ellipsis' => 'color:#FF8400',
4647
);
4748

4849
private $displayOptions = array(
@@ -380,7 +381,7 @@ function isCtrlKey(e) {
380381
display: inline-block;
381382
overflow: visible;
382383
text-overflow: ellipsis;
383-
width: 5em;
384+
max-width: 5em;
384385
white-space: nowrap;
385386
overflow: hidden;
386387
vertical-align: top;

0 commit comments

Comments
 (0)
0