Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

fix: padding and alignment issues #84

Merged
merged 4 commits into from
Dec 2, 2019
Merged

fix: padding and alignment issues #84

merged 4 commits into from
Dec 2, 2019

Conversation

haxxmaxx
Copy link
Collaborator

@haxxmaxx haxxmaxx commented Nov 29, 2019

No description provided.

@@ -251,7 +251,7 @@ describe('style-formatter', () => {
button.children.push(child);
};
styleFormatter.createLabelAndIcon({ Theme, button, style });
expect(button.children[0].style.fontSize).to.equal('9.2px');
expect(button.children[0].style.fontSize).to.equal('9.399999999999999px');
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unfortunate... Without the 0.94 faktor I get 10px, but apparently 10*0.95 = 0.933333... Played around with the width, did not get a more even value.

@haxxmaxx haxxmaxx merged commit d1bd7c7 into master Dec 2, 2019
@haxxmaxx haxxmaxx deleted the crl/padding branch December 3, 2019 07:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants