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
Recent 'box-sizing' change brakes button appearance #57
Comments
/cc @notwaldorf |
Hmm, the reason we changed that is that a global I'm not sure how we could have unbroken people and still fixed it. :( Let me know if there was a better way to fix this that I missed. |
Hardcoding it to |
I think Again, I am very sorry for the breaking change. I've checked and everywhere else where we hard code sizes we also use the right |
Hello,
in a6041a2 box-sizing of the
:host
was changed fromcontent-box
toborder-box
and 'width' was increased by the doubled padding, to compensate the box sizing model change.I have a page which includes . The button has custom padding:
Before the change, effective CSS applied to
:host
was:After the change it became:
As a result the button became 1.5x larger.
In fact this change affects every existing
<paper-icon-button>
with customized width and/or padding.The text was updated successfully, but these errors were encountered: