Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[WebProfilerBundle] Fix margin on toolbar route panel when no route is found in the request #19812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2016

Conversation

jameshalsall
Copy link
Contributor

@jameshalsall jameshalsall commented Sep 1, 2016

Q A
Branch? 3.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #19805
License MIT

Just to clarify, this bug was introduced in the 3.1 release when some of the toolbar was re-structured

@javiereguiluz
Copy link
Member

javiereguiluz commented Sep 1, 2016

This makes the redirection/forward icon to be closer to the status panel than before ... but it's probably OK:

Before After
before after

@jameshalsall jameshalsall changed the title Fix margin on toolbar route panel when no route is found in the request [Profiler] Fix margin on toolbar route panel when no route is found in the request Sep 1, 2016
@jameshalsall
Copy link
Contributor Author

Maybe the better solution is to wrap up the optionally displayed SVG and the other elements representing the route in a single element that has the margin-left?

@javiereguiluz
Copy link
Member

We're always cautious about modifying the HTML structure ... so maybe the following would suffice:

.sf-toolbar-block-request .sf-toolbar-status + svg {
    margin-left: 5px;
}

@jameshalsall jameshalsall changed the title [Profiler] Fix margin on toolbar route panel when no route is found in the request [WebProfilerBundle] Fix margin on toolbar route panel when no route is found in the request Sep 1, 2016
When no route was found (404) then the route panel margin would cause
unnecessary space between the status panel and the response time panel.
@jameshalsall jameshalsall force-pushed the right-margin-toolbar-route-panel branch from be08d76 to 7fdffd1 Compare September 1, 2016 13:32
@jameshalsall
Copy link
Contributor Author

Updated, that fixes both scenarios :)

@fabpot
Copy link
Member

fabpot commented Sep 1, 2016

Thank you @jameshalsall.

@fabpot fabpot merged commit 7fdffd1 into symfony:3.1 Sep 1, 2016
fabpot added a commit that referenced this pull request Sep 1, 2016
… no route is found in the request (jameshalsall)

This PR was merged into the 3.1 branch.

Discussion
----------

[WebProfilerBundle] Fix margin on toolbar route panel when no route is found in the request

| Q             | A
| ------------- | ---
| Branch?       | 3.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #19805
| License       | MIT

Just to clarify, this bug was introduced in the 3.1 release when some of the toolbar was re-structured

Commits
-------

7fdffd1 [WebProfilerBundle] Fix margin on toolbar route panel.
@fabpot fabpot mentioned this pull request Sep 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants