8000 merged branch shiroyuki/master (PR #4481) · symfony/symfony@3c8947e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c8947e

Browse files
committed
merged branch shiroyuki/master (PR #4481)
Commits ------- 06cc9ff Adjust the width of the timeline in the profiler dynamically when the (browser) window is resized. Discussion ---------- Adjust the width of the timeline in the profiler dynamically when the (browser) window is resized. (Rework of [PR 4476](#4476)) Instead of making the developer to resize the width of the visual presentation of the timeline in the profile manually, this change is to make the profiler adjust the width of the timeline dynamically when the (browser) window is resized. Also, this change introduce the cleaner HTML/JavaScript code and URL as the result of: * the removal of 'width' from the query string as the width is now controlled by JavaScript. the removal of 'threshold' from the query string as the threshold is now passed between pages via HTML5 LocalStorage. * Please note that at the time of submitting the pull request, GitHub didn't pick up some commits to deal with the trailing white spaces. --------------------------------------------------------------------------- by travisbot at 2012-06-01T18:30:49Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1501464) (merged 06cc9ff into 1541fe2).
2 parents 2faba01 + 06cc9ff commit 3c8947e

File tree

2 files changed

+325
-157
lines changed

2 files changed

+325
-157
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,3 +467,19 @@ td.main, td.menu {
467467
height: 30px;
468468
display: none;
469469
}
470+
471+
.sf-profiler-timeline .legends {
472+
font-size: 12px;
473+
line-height: 1.5em;
474+
}
475+
476+
.sf-profiler-timeline .legends span {
477+
border-left-width: 10px;
478+
border-left-style: solid;
479+
padding: 0 10px 0 5px;
480+
}
481+
482+
.sf-profiler-timeline canvas {
483+
border: 1px solid #999;
484+
border-width: 1px 0;
485+
}

0 commit comments

Comments
 (0)
0