Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(githubCorner): add width and height attributes#1992

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dpschen wants to merge2 commits intodocsifyjs:develop
base:develop
Choose a base branch
Loading
fromdpschen:fix-githubCorner-size

Conversation

@dpschen
Copy link

Summary

Add width and height attribute.
This fixes jumping of the SVG for loading for slow connections.

Here is a video showing this behavior for thezod documentation:

Screen.Recording.2023-02-17.at.14.55.08.mp4

This adds width and height attributes to the github corner svg so that the intrinsic size is defined. See alsohttps://web.dev/optimize-cls/#modern-best-practice. Thisdoes not prevent overwriting the size via CSS later so it shouldn't break any user CSS.

What kind of change does this PR introduce?

Bugfix

For any code change,

  • Related documentation has been updated if needed
  • Related tests have been updated or tests have been added

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

Add width and height attribute.This fixes jumping of the SVG for loading for slow connections.
@vercel
Copy link

vercelbot commentedFeb 17, 2023
edited
Loading

The latest updates on your projects. Learn more aboutVercel for Git ↗︎

NameStatusPreviewCommentsUpdated (UTC)
docsify-preview✅ Ready (Inspect)Visit Preview💬Add feedbackJul 9, 2023 9:13pm

@codesandbox-ci
Copy link

This pull request is automatically built and testable inCodeSandbox.

To see build info of the built libraries, clickhere or the icon next to each commit SHA.

Latest deployment of this branch, based on commit43e3109:

SandboxSource
docsify-templateConfiguration

@Koooooo-7Koooooo-7 added the ui/uxrelated to user interface and/or user experience of docsify labelFeb 20, 2023
@Koooooo-7Koooooo-7 requested a review froma teamFebruary 20, 2023 10:46
@trusktr
Copy link
Member

Tests are not running for some reason.

@trusktrtrusktr changed the base branch fromdevelop tomainJuly 9, 2023 21:12
@trusktrtrusktr changed the base branch frommain todevelopJuly 9, 2023 21:13
@trusktr
Copy link
Member

Changing bases to main and back to develop fixed it (same issue I've had in other projects, changing base always works).

@trusktr
Copy link
Member

This will conflict with

We'll merge that one first.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@trusktrtrusktrtrusktr approved these changes

At least 2 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

ui/uxrelated to user interface and/or user experience of docsify

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@dpschen@trusktr@Koooooo-7

[8]ページ先頭

©2009-2025 Movatter.jp