Skip to content
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

"Plus" button is not centered #608

Closed
talyguryn opened this issue Feb 10, 2019 · 2 comments
Closed

"Plus" button is not centered #608

talyguryn opened this issue Feb 10, 2019 · 2 comments
Assignees
Labels

Comments

@talyguryn
Copy link
Member

Firefox 65, macOS 10.13.6 / Win 7

image

@talyguryn talyguryn added the bug label Feb 25, 2019
@neSpecc neSpecc changed the title "Plus" buttons is not centered "Plus" button is not centered Apr 9, 2019
@akash-mitra
Copy link

Just some additional info -

The button is centered in chrome. But not centered in Firefox.

The translate values in ce-toolbar__plus is different between chrome (transform: translate3d(0px, calc(-50% + 10px), 0px)) and firefox (transform: translate3d(0px, calc(-50% + 22px), 0px))

In chrome, the block has a height of 24px - which I believe is coming from line-height: 1.7 - but in firefox the block height is zero unless you start writing something.

Below is a screenshot from chrome Notice 45px (24px + 21px padding) content height (light blue color)
image

Below is a screenshot from Firefox, the content height is zero (only 21px from padding).
image

@neSpecc
Copy link
Member

neSpecc commented Dec 7, 2019

Resolved in 2.16.1

@neSpecc neSpecc closed this as completed Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants