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

Patch 1 #199

Merged
merged 2 commits into from
Apr 30, 2018
Merged

Patch 1 #199

merged 2 commits into from
Apr 30, 2018

Conversation

jerriais
Copy link
Contributor

I'm submitting a...

[ ] Bug Fix
[ ] Feature
[x] Other (Refactoring, Added tests, Documentation, ...)

Checklist

  • Test your changes
  • Squashed commits
  • Followed the build steps

Description

_The original width of 15px seemed to narrow if a user wanted to add "years old" as a suffix.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

The original width of 15px seemed to narrow if a user wanted to add "years old" as a suffix.
@inorganik
Copy link
Owner

Just FYI, prefix/suffix are meant for 1-2 character strings that get attached on either side of the number. For longer strings you should do:

<h1>So and so is <span id="countUpTarget"></span> years old</h1>

Either way is valid.

@inorganik inorganik merged commit 4164564 into inorganik:master Apr 30, 2018
@jerriais
Copy link
Contributor Author

jerriais commented May 7, 2018

OK, thanks for the tip, I hadn't thought about doing it that way. This was my first time contributing to open source repo so still lots to learn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants