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

Use em instead of px as the font size unit #1006

Merged
merged 18 commits into from
Jul 30, 2019
Merged

Use em instead of px as the font size unit #1006

merged 18 commits into from
Jul 30, 2019

Conversation

stevenjoezhang
Copy link
Contributor

@stevenjoezhang stevenjoezhang commented Jul 25, 2019

Breaking Change

Since the default font unit is changed from px to em, if the font size has been set before, need to divide the value by 16

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.
  • Tests for the changes was maked (for bug fixes / features).
    • Muse | Mist have been tested.
    • Pisces | Gemini have been tested.
  • Docs in NexT website have been added / updated (for features).

PR Type

What kind of change does this PR introduce?

  • Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build related changes.
  • CI related changes.
  • Documentation content changes.
  • Other... Please describe:

What is the current behavior?

Issue resolved: N/A

What is the new behavior?

  • Screenshots with this changes: N/A
  • Link to demo site with this changes: N/A

How to use?

In NexT _config.yml:

...

Does this PR introduce a breaking change?

  • Yes.
  • No.

1v9
1v9 previously approved these changes Jul 25, 2019
@stevenjoezhang
Copy link
Contributor Author

stevenjoezhang commented Jul 25, 2019

The margin of

  • menu
  • search pop-up
  • copy-code button

is sometimes wrong, I'll do more test

@1v9 1v9 dismissed their stale review July 25, 2019 04:52

need more test

@stevenjoezhang stevenjoezhang requested a review from 1v9 July 25, 2019 05:58
@stevenjoezhang
Copy link
Contributor Author

stevenjoezhang commented Jul 26, 2019

Docs here: theme-next/theme-next.org#35

Wait for v7.3.0 release

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

Successfully merging this pull request may close these issues.

2 participants