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

Support displaying wider follow-me QR code images #837

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jiajun-Peng
Copy link

PR Checklist

  • The changes have been tested (for bug fixes / features).
  • Docs in NexT website have been added / updated (for features).

PR Type

  • Bugfix.
  • Feature.
  • Improvement.
  • Code style update (e.g. formatting, linting).
  • Refactoring (no changes to functionality and APIs).
  • Documentation.
  • Translation.
  • Other... Please describe:

What is the current behavior?

Under the current configuration, the WeChat QR code image is too small and cannot be scanned:
image-20240831204940929

When setting a larger max-width value, the following issues occur:
image-20240831212046068
image-20240831212708999

Because AddToAny Share button appears on top layer:
image-20240831212018720

Similarly, the comment component also prevents the WeChat QR code from displaying fully:
image-20240901083926322

Issue resolved:

What is the new behavior?

Improvement:
Snipaste_2024-09-01_10-30-48
image-20240901084257134

How to use?

In NexT _config.yml:

Copy link

welcome bot commented Sep 1, 2024

Thanks so much for opening your first PR here!

@CLAassistant
Copy link

CLAassistant commented Sep 1, 2024

CLA assistant check
All committers have signed the CLA.

@stevenjoezhang stevenjoezhang added this to the 8.20.1 milestone Sep 3, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10650287911

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.446%

Totals Coverage Status
Change from base Build 9517060757: 0.0%
Covered Lines: 400
Relevant Lines: 405

💛 - Coveralls

@stevenjoezhang
Copy link
Member

I'm concerned that hardcoding 460 pixels may not be suitable for all situations. Perhaps we should consider if there's a better approach.

@stevenjoezhang stevenjoezhang modified the milestones: 8.21.0, 8.21.1 Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants