8000 Force profiler toolbar svg display by pyrech · Pull Request #18469 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Force profiler toolbar svg display #18469

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
Apr 7, 2016
Merged

Force profiler toolbar svg display #18469

merged 1 commit into from
Apr 7, 2016

Conversation

pyrech
Copy link
Contributor
@pyrech pyrech commented Apr 7, 2016
Q A
Branch? 2.8
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? -
Fixed tickets -
License MIT
Doc PR -

When applying display: block on all svg of our website, we found that toolbar's svg were also impacted:

capture du 2016-04-07 10-57-05

Just apply a default display on toolbar's svg fixes the issue.

@javiereguiluz
Copy link
Member

I agree with fixing this ... but I think we should use inline-block instead of inline

@pyrech
Copy link
Contributor Author
pyrech commented Apr 7, 2016

Updated with display: inline-block 😉

@javiereguiluz
Copy link
Member

@pyrech thank you!

👍

@stof
Copy link
Member
stof commented Apr 7, 2016

👍

@stof
Copy link
Member
stof commented Apr 7, 2016

Thanks @pyrech.

@stof stof merged commit 467d8c7 into symfony:2.8 Apr 7, 2016
stof added a commit that referenced this pull request Apr 7, 2016
This PR was merged into the 2.8 branch.

Discussion
----------

Force profiler toolbar svg display

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | -
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

When applying `display: block` on all svg of our website, we found that toolbar's svg were also impacted:

![capture du 2016-04-07 10-57-05](https://cloud.githubusercontent.com/assets/2021641/14345830/7d531388-fcaf-11e5-88ad-92f5522b4e98.png)

Just apply a default display on toolbar's svg fixes the issue.

Commits
-------

467d8c7 Force profiler toolbar svg display
@pyrech pyrech deleted the patch-1 branch April 11, 2016 12:26
This was referenced Apr 29, 2016
javiereguiluz added a commit that referenced this pull request Dec 11, 2017
… toolbar. (bobdenotter)

This PR was merged into the 2.7 branch.

Discussion
----------

[WebProfilerBundle] Fix Image/SVG display in WebProfiler toolbar.

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

This small fix prevents widths from "creeping in" from previously defined CSS rules into the WebProfiler toolbar. See before/after screenshot:

![screen_shot_2017-12-11_at_11_56_06](https://user-images.githubusercontent.com/1833361/33828617-1e59c2c2-de6d-11e7-8c5e-560eee847205.png)

Note: This PR fixes an other issue than #18469, which landed in SF 2.8.

Commits
-------

62f5eae Set `width: auto` on WebProfiler toolbar's reset.
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
0