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

Add a white space after prefix and before suffix #190

Merged
merged 1 commit into from Oct 17, 2021

Conversation

jkawamoto
Copy link
Contributor

@jkawamoto jkawamoto commented Sep 24, 2021

Current preset templates render prefix and suffix without a white space like this:

// Simple template
Prefix20 / 100 [--->________________] 20.00%Suffix

But, it'd be nice if there is a space like this:

Prefix 20 / 100 [--->______________] 20.00% Suffix

This PR modifies those templates so that it checks if prefix and/or suffix are given and add white space to them.

@cheggaaa cheggaaa merged commit bbc97ac into cheggaaa:master Oct 17, 2021
1 check passed
@cheggaaa
Copy link
Owner

cheggaaa commented Oct 17, 2021

Sorry for the delay. Thank you! Merged

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.

None yet

2 participants