Skip to content

[WebProfilerBundle] Fix minitoolbar height #16377

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
Nov 19, 2015

Conversation

rvanlaak
Copy link
Contributor

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

The height of the minimized toolbar icon was a bit off. This change makes sure the icon has the same height as the toolbar itself.

@javiereguiluz
Copy link
Member

I remember some related issue reported by a user of the Safari browser. Have you tested this change in Chrome, Firefox and Safari? Thanks!

@rvanlaak
Copy link
Contributor Author

From left to right: Edge, Edge (minimized), Chrome 46, Chrome 46 (minimized), FF41, FF41 (minimized)

image

So Webkit and Gecko are fine. Let's see or I can make another PR to fix Edge later today

@javiereguiluz
Copy link
Member

This is how I see the minimized toolbar in Safari:

Before (it was slightly wrong)

before

After this change (it's a bit worse)

after

@rvanlaak
Copy link
Contributor Author

Didn't have a Safari environment available right now, did hope they'd respect webkit ;) The anchor needs display: block, can you pull latest?

@javiereguiluz
Copy link
Member

No luck with the latest changes. However, if I make this change:

.sf-minitoolbar {
-    padding: 6px 6px 0;
+    padding: 4px 6px 0;
}

The problem is fixed in Safari:

after_2

@rvanlaak
Copy link
Contributor Author

Mmh, that also doesn't really seem squarish, let me get back to you after I've solved this 👍

@fabpot
Copy link
Member

fabpot commented Nov 7, 2015

@rvanlaak Any news?

@rvanlaak
Copy link
Contributor Author

Wasn't able to find a Mac to fix this so far, and the latest Safari for Windows is a bit old for testing right?

@stof
Copy link
Member

stof commented Nov 18, 2015

@rvanlaak yeah, safari on windows is not relevant

@rvanlaak
Copy link
Contributor Author

Updated + rebased, this should do the trick for both Edge and Safari

@stof
Copy link
Member

stof commented Nov 19, 2015

@rvanlaak is this related to the issue reported in #16597 or is it a different topic ?

@rvanlaak
Copy link
Contributor Author

Yes, this fixes #16597 for IE11 and Edge. Also see #16377 (comment)

@fabpot
Copy link
Member

fabpot commented Nov 19, 2015

Thank you @rvanlaak.

@fabpot fabpot merged commit 0459912 into symfony:2.8 Nov 19, 2015
fabpot added a commit that referenced this pull request Nov 19, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

[WebProfilerBundle] Fix minitoolbar height

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

The height of the minimized toolbar icon was a bit off. This change makes sure the icon has the same height as the toolbar itself.

Commits
-------

0459912 [WebProfilerBundle] Fix minitoolbar height
@rvanlaak rvanlaak deleted the 2.8-minitoolbar branch November 19, 2015 16:23
This was referenced Nov 30, 2015
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.

5 participants