X Tutup
The Wayback Machine - https://web.archive.org/web/20200814041227/https://github.com/nodejs/nodejs.dev/pull/808
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

Fix: Use the shared font family for the shell box #808

Merged
merged 3 commits into from Aug 13, 2020

Conversation

@JohnPhamous
Copy link

JohnPhamous commented Aug 10, 2020

Description

The font used for the Shell Box was not using the shared definition of mono. This PR replaces the hardcoded value of Monaco with --mono.

With this change, the Shell Box has fonts to fall back to when Monaco isn't installed on the system (Windows/Linux?).

Before
image

After
image

Related Issues

John Pham
@JohnPhamous
Copy link
Author

JohnPhamous commented Aug 10, 2020

/preview

@github-actions
Copy link

github-actions bot commented Aug 10, 2020

Please find a preview at: https://staging.nodejs.dev/808/

Copy link
Contributor

benhalverson left a comment

Thanks for the contribution 🎉👍

@bnb
bnb approved these changes Aug 11, 2020
Copy link

designMoreWeb left a comment

Looks good to me

@bnb
Copy link
Member

bnb commented Aug 13, 2020

This can presumably be merged.

@benhalverson benhalverson merged commit 0e6e2d5 into nodejs:master Aug 13, 2020
2 checks passed
2 checks passed
test-ci
Details
test-ci
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.
X Tutup