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

Improve vertical alignment of the notifier output #183

Merged
merged 2 commits into from
Aug 16, 2020

Conversation

astorije
Copy link
Contributor

@astorije astorije commented Jul 24, 2020

  Before After
defer: true (default) Screen Shot 2020-07-24 at 2 28 07 AM Screen Shot 2020-07-24 at 2 28 54 AM
defer: false  Screen Shot 2020-07-24 at 2 28 33 AM Screen Shot 2020-07-24 at 2 29 17 AM

Interestingly, while it doesn't feel that way on the screenshots, the current defer: false version is the weirdest, as it currently outputs 2 empty lines (1 by \n and 1 by the boxen margin) before and 1 empty line after.
I started by tweaking the margins in weird ways, but then figured this could be improved upstream.
Does this change seem unreasonable?

@astorije
Copy link
Contributor Author

Hi folks! Do you need anything else from me here? :)

@sindresorhus sindresorhus changed the title Better align the notifier Improve vertical alignment of the notifier output Aug 16, 2020
@sindresorhus sindresorhus merged commit f42fc8f into yeoman:master Aug 16, 2020
@astorije astorije deleted the patch-1 branch January 6, 2021 07:56
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