8000 Adjust the width of the timeline in the profiler dynamically when the… · symfony/symfony@06cc9ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 06cc9ff

Browse files
author
Juti Noppornpitak
committed
Adjust the width of the timeline in the profiler dynamical 10000 ly when the (browser) window is resized.
1 parent 1541fe2 commit 06cc9ff

File tree

2 files changed

+326
-158
lines changed

2 files changed

+326
-158
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/public/css/profiler.css

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,4 +455,20 @@ td.main, td.menu {
455455
background: transparent url(../images/profiler/spinner.gif) scroll no-repeat 50% 50%;
456456
height: 30px;
457457
display: none;
458-
}
458+
}
459+
460+
.sf-profiler-timeline .legends {
461+
font-size: 12px;
462+
line-height: 1.5em;
463+
}
464+
465+
.sf-profiler-timeline .legends span {
466+
border-left-width: 10px;
467+
border-left-style: solid;
468+
padding: 0 10px 0 5px;
469+
}
470+
471+
.sf-profiler-timeline canvas {
472+
border: 1px solid #999;
473+
border-width: 1px 0;
474+
}

0 commit comments

Comments
 (0)
0